https://github.com/sec-bit/zkpod-contract
Smart contracts for zkPoD Decentralized Exchange
https://github.com/sec-bit/zkpod-contract
decentralized-exchange ethereum zero-knowledge-proofs
Last synced: 4 months ago
JSON representation
Smart contracts for zkPoD Decentralized Exchange
- Host: GitHub
- URL: https://github.com/sec-bit/zkpod-contract
- Owner: sec-bit
- Created: 2019-06-26T09:22:48.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-10T15:45:09.000Z (almost 3 years ago)
- Last Synced: 2025-04-07T13:43:20.654Z (6 months ago)
- Topics: decentralized-exchange, ethereum, zero-knowledge-proofs
- Language: Go
- Homepage:
- Size: 699 KB
- Stars: 14
- Watchers: 1
- Forks: 1
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# zkPoD-contract
Smart contracts for *zkPoD Decentralized Exchange*.
## Related zkPoD projects
- [zkPoD-node](https://github.com/sec-bit/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](https://github.com/sec-bit/zkPoD-lib) zkPoD core library written in C++ shipping with Golang bindings.## ABI & Wrapper
### ABI JSON File
- [*zkPoDExchange.abi*](abi/zkPoDExchange.abi)
### Go Wrapper
- [*zkPoDExchange.go*](abi/zkPoDExchange.go)
## 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
- *PublicVar* - [0xCf06Ff284988ebDc00752bD5E87AA78f853357d7](https://ropsten.etherscan.io/address/0xCf06Ff284988ebDc00752bD5E87AA78f853357d7)
- *zkPoDExchange* - [0x6BB3240C7a0850E99aEab96e210cbbD8b7B609D0](https://ropsten.etherscan.io/address/0x6BB3240C7a0850E99aEab96e210cbbD8b7B609D0)