Environment variables used in this directory:
Variable |
---|
DEPLOYER_PRIVATEKEY |
SEPOLIA_RPC_URL |
ETHERSCAN_API_KEY |
pn --filter contracts deploy.sepolia
Network | Contract | Address | Comment |
---|---|---|---|
Sepolia | Groth16Verifier | 0x893f293e3918a179bf87fb772206e9927db61b0c | |
Sepolia | AnonMinter | 0xcc639e338f9fb382d76f30928559cf14943600e0 | The merkle root used as constructor argument to deploy this contract corresponds to all the addresses that owned at least 360 ENS on mainnet as of "block somewhere around 17361666" (don't remember exactly 😅). |
Somehow verification at deployment with forge create --verify
or even forge verify-contract
failed.
So instead use --show-standard-json-input
to get json input and upload that file manually to etherscan.
See pn --filter contracts verify.sepolia
Example:
cast send --private-key $DEPLOYER_PRIVATEKEY --rpc-url $SEPOLIA_RPC_URL --chain 11155111 0xCC639e338F9fb382D76F30928559Cf14943600E0 "mint(address,uint,uint[2],uint[2][2],uint[2],uint[5])" 0xc122c870eA9179989C57A8F4cBf409B6BfDc99
88 123 $(tsnd circuits/circom/scripts/generate-calldata-base10.ts)