Create the db in the cmd directory sqlite3 attestor.db < att.sql
To do some FiddyCent token operations, run scripts\deploy-details.sh
to get the contract address and an export command. Run the export command, then play with the contract.
cast call $FIDDY_CENT "totalSupply()(uint256)" --rpc-url http://127.0.0.1:8545
cast send $FIDDY_CENT "transfer(address,uint256)" --private-key $DEPLOYER_KEY $ACCT1 50
cast call $FIDDY_CENT "balanceOf(address)" $ACCT1
cast call $MB_FIDDY_CENT "totalSupply()(uint256)" --rpc-url http://127.0.0.1:9933
cast call $MB_FIDDY_CENT "balanceOf(address)" $MB_ACCT1 --rpc-url http://127.0.0.1:9933
cast send $MB_FIDDY_CENT "transfer(address,uint256)" --private-key $MB_DEPLOYER_KEY $MB_ACCT1 50 --rpc-url http://127.0.0.1:9933
Bootstrapping the project: forge init cctp-lite-2
OpenZeppelin dependencies: forge install OpenZeppelin/openzeppelin-contracts
Updating foundry tool - foundryup
Adding cli commands: cobra-cli add command