This is running through the token bridge tutorial off of aztec-packages 0.45.1
branch on July 8th.
- node.js version 18.x.x
- Aztec sandbox, install with:
bash -i <(curl -s install.aztec.network)
Use 0.45.1 build for aztec-up
:
aztec-up
or
VERSION=0.45.1 aztec-up
- Update dependencies in Nargo.toml in
packages/aztec-contracts/token_bridge
to your version. - Update @aztec package versions in
packages/src/package.json
to your version.
cd packages/aztec-contracts/token_bridge
aztec-nargo compile
# the output is already committed in this repo, but you'll have to rerun this if you change anything in the contract
aztec-builder codegen target -o ../../src/test/fixtures
cd l1-contracts
yarn
npx hardhat compile
Run the sandbox
aztec-sandbox
Run the tests
cd packages/src
yarn
DEBUG='aztec:e2e_uniswap' yarn test
DEBUG='aztec:*' yarn test