/zkPoD-contract

Smart contracts for zkPoD Decentralized Exchange

Primary LanguageGo

zkPoD-contract

Smart contracts for zkPoD Decentralized Exchange.

Related zkPoD projects

  • zkPoD-node Node application written in Golang for sellers (Alice) and buyers (Bob). It deals with communication, smart contract calling, data transferring, and other zkPoD protocol interactions.
  • zkPoD-lib zkPoD core library written in C++ shipping with Golang bindings.

ABI & Wrapper

ABI JSON File

Go Wrapper

Usage & Development

Build

git clone
npm install
truffle compile

Generate ABI

npm run genABI

Generate Go Wrapper

npm run genWrapper

Test

npm run test

Lint

npm run lint:contracts

Deploy On Ropsten

export mnemonic=YOUR_SUPER_SECRET_PRIVATE_KEY_HERE
truffle migrate --network ropsten

Live On Ethereum Networks

Ropsten Testnet