Consensys / pantheon-aztec-quickstart

Examples of private transactions using AZTEC on a private Ethereum network
Apache License 2.0
0 stars 1 forks source link

pantheon-aztec-quickstart

Warning :rotating_light:

This repository is now DEPRECATED.

dependencies

You need to install node, yarn and docker.

getting started

Please read:

run pantheon (dev mode)

We're going to run a single-node blockchain with mining enabled. More info here.

docker pull pegasyseng/pantheon:latest
docker run -p 8545:8545  pegasyseng/pantheon:latest --miner-enabled --miner-coinbase fe3b557e8fb62b89f4916b721be55ceb828dbd73 --rpc-http-cors-origins="all"  --rpc-http-enabled --network=dev

run our aztec demo

git clone git@github.com:pegasyseng/pantheon-aztec-quickstart.git
cd pantheon-aztec-quickstart
yarn install
yarn run zkasset-erc20
yarn run zkasset

misc

regenerate contracts/artifacts

The artifacts located in contracts/artifacts are produced by AZTEC/packages/protocol scripts. To re-generate them, run:

git clone git@github.com:AztecProtocol/AZTEC.git
cd AZTEC/packages/protocol
yarn install
yarn run compile
yarn run build:artifacts

Outputs the JSON artifacts for the contracts in AZTEC/packages/contract-artifacts/artifacts/

License

This project is licensed under the Apache 2 License - see the LICENSE file for details