These smart contracts were crafted to black box test various features of Mina Protocol zkApps.
These contracts were tested with node v19.9.0
but should work with all node versions >= 16
.
npm install
Make sure you now have the zkapp-cli
zk --version
npm run build
npm run test
npm run testw # watch mode
npm run coverage
Create a deploy alias for the contract of interest
zk config
Follow the directions to create a deploy alias and fund the account. Or you can generate a keypair match the keyPath
of a delpoy alias in config.json
.
Deploy the contract
zk deploy <alias>
Each contract has an accompanying "interaction script" in src/interactions
. In general, the pattern is
npm run interact:<alias>
Checkout package.json
for more info or to modify the scripts.