attest-verification
Create a contract verification attestation on Rootstock using RAS to securely prove contract authenticity and compilation details.
Instructions
Create a contract verification attestation on Rootstock using RAS. Uses default testnet schema UIDs when none is provided.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| testnet | Yes | Use testnet (true) or mainnet (false) | |
| verifier | Yes | Address of the verifier wallet (0x... format) | |
| recipient | No | EAS attestation recipient address - defaults to contractAddress | |
| schemaUID | No | Schema UID to use - uses default RSK verification schema if not provided | |
| timestamp | Yes | Unix timestamp of the verification | |
| walletData | No | Your previously saved wallet configuration file content (my-wallets.json) | |
| walletName | No | Specific wallet name to use - uses current wallet if not provided | |
| contractName | Yes | Name of the verified contract | |
| sourceCodeHash | Yes | Hash of the verified source code | |
| walletPassword | No | Password to decrypt the wallet - required when using walletData | |
| compilerVersion | Yes | Solidity compiler version used (e.g., 'v0.8.17+commit.8df45f5f') | |
| contractAddress | Yes | Verified contract address (0x... format) | |
| optimizationUsed | Yes | Whether compiler optimization was enabled | |
| verificationTool | Yes | Tool used for verification (e.g., 'hardhat', 'foundry', 'manual') | |
| compilationTarget | Yes | Compilation target file path (e.g., 'contracts/MyContract.sol:MyContract') |