Start your codespace from the codespace dropdown.
Get and run the sandbox with this command:
/bin/bash -c "$(curl -fsSL 'https://sandbox.aztec.network')"
yarn install
aztec-cli compile . --typescript ./src/artifacts
or
yarn compile
Add ADMIN
to your environment.
ADMIN=0x1d30d4de97657983408587c7a91ba6587774b30f0e70224a0658f0357092f495
aztec-cli deploy ./target/EasyPrivateVoting.json --args $ADMIN
yarn test
Get the contract code from the monorepo. The script will look at the versions defined in ./Nargo.toml
and fetch that version of the code from the monorepo.
yarn update
You may need to update permissions with:
chmod +x update_contract.sh