Table of Contents
Why Verify Your Contract?
Smart contract verification proves that the source code you provide matches the compiled bytecode that's actually deployed on chain. Once verified, anyone can read the full contract logic on Blockscout — every function, every restriction, every fee.
Why this matters for your token:
- Trust: Buyers can confirm your token doesn't have hidden honeypot mechanics, backdoors, or owner-only drains before they buy.
- Rug-checker tools: Automated safety scanners flag unverified contracts as suspicious or refuse to score them. A verified contract passes this first filter.
- CoinGecko and CoinMarketCap listings: Both platforms check for verified contracts during listing review. An unverified contract is a common rejection reason.
- Developer credibility: Verified contracts allow other developers to audit your code, build on top of your token, or integrate it into aggregators and wallets.
"Not verifying your contract is like running a restaurant with boarded-up windows. The food might be fine, but no one can see in to check."
Blockscout vs Etherscan on Robinhood Chain
Etherscan does not work on Robinhood Chain. Etherscan is Ethereum mainnet only. Attempting to verify a Robinhood Chain contract on Etherscan will fail — the contract address won't exist there.
Robinhood Chain uses Blockscout (robinhoodchain.blockscout.com) as its block explorer. Blockscout is an open-source alternative to Etherscan and is widely used across EVM chains. The verification process is similar but uses Blockscout's interface.
| Feature | Blockscout (Robinhood Chain) | Etherscan (Ethereum L1 only) |
|---|---|---|
| Supported on Robinhood Chain | Yes | No |
| Contract verification | Yes | N/A |
| Token metadata | Yes | N/A |
| Transaction history | Yes | N/A |
| Explorer URL | robinhoodchain.blockscout.com | etherscan.io |
What You Need
- Contract address on Robinhood Chain
- Solidity source code — the exact .sol file(s) used to compile and deploy the contract
- Exact compiler version — the same version used during deployment (e.g., v0.8.20). A different minor version will fail.
- Optimization settings — whether optimization was enabled and the number of runs (commonly 200)
- Constructor arguments (if used) — ABI-encoded values passed to the constructor during deployment
Finding your compiler version: If you deployed via Hardhat, check your hardhat.config.js for the solidity version. If via Remix, look at the "Solidity compiler" plugin panel. The exact version (including patch number) must match.
Step-by-Step Verification on Blockscout
Step 1 — Open your contract on Blockscout: Go to robinhoodchain.blockscout.com and search for your contract address. Click on the contract address to open its page.
Step 2 — Go to the "Contract" tab: On the contract page, click the "Contract" tab. If the contract is not verified, you'll see bytecode. Look for a "Verify & Publish" button or link.
Step 3 — Choose verification method: Blockscout offers several methods:
- Solidity (flattened source code): Best for single-file contracts or contracts with all dependencies inlined. This is the most common method for simple ERC-20 tokens.
- Solidity (standard JSON input): For complex multi-file contracts. Uses the full compilation artifact.
- Vyper: Not applicable for ERC-20 tokens written in Solidity.
For most ERC-20 tokens, use Solidity (flattened source code).
Step 4 — Enter contract details:
- Contract address (auto-filled)
- Contract name (the Solidity contract name, exactly as written in the code)
- Compiler version (e.g., v0.8.20+commit.a1b79de6)
- Optimization: Yes/No and runs count
- Source code: paste the flattened Solidity source
- Constructor arguments: if your contract used constructor parameters, paste the ABI-encoded args
Step 5 — Submit and verify: Click "Verify & Publish." Blockscout will compile your source with the given settings and compare the bytecode to what's on chain. If they match, your contract is verified instantly. The "Contract" tab will now show green checkmarks and the full readable source code.
Common Verification Errors
- "Bytecode mismatch": The compiled source doesn't match the deployed bytecode. Most common causes: wrong compiler version, wrong optimization settings, or the source was modified after deployment. Double-check all settings exactly match what was used at deployment.
- "Contract not found": The contract address isn't indexed yet. Wait a few minutes and try again. Very new contracts may take time to appear on Blockscout.
- "Constructor arguments invalid": If your contract had constructor arguments (e.g., token name, symbol, supply passed at deployment), they must be ABI-encoded correctly. Use a tool like Ethers.js's AbiCoder or Foundry's cast to encode them.
- "Source code contains import statements": If your contract imports from other files (OpenZeppelin, etc.) and you're using the flattened method, all imports must be inlined in a single file. Use solidity-flattener or Hardhat's flatten command.
- Wrong contract name: The contract name in the verification form must match the exact contract name in the Solidity file (case-sensitive). If your file has
contract MyToken, enterMyToken, notmytoken.
Tokens Created with CreateMyCoin
If you deployed your Robinhood Chain token using CreateMyCoin, your token uses a standard, audited ERC-20 contract. The source code for the contract is available and can be used directly for Blockscout verification.
Because CreateMyCoin uses the same contract base for all tokens (with parameters like name, symbol, and supply passed as constructor arguments), the verification process is straightforward:
- Use the standard CreateMyCoin ERC-20 source code
- Match the compiler version and optimization settings used by CreateMyCoin
- Provide the constructor arguments from your specific deployment
The compiler version, optimization settings, and constructor argument encoding are available in your deployment transaction on Blockscout — look at the deployment transaction's input data.
FAQ
What explorer does Robinhood Chain use for verification?
Robinhood Chain uses Blockscout at robinhoodchain.blockscout.com. Etherscan does not support Robinhood Chain.
Why should I verify my ERC-20 contract on Robinhood Chain?
Verification proves your contract's source code matches what's deployed. It lets buyers verify there are no honeypot mechanics, passes rug-checker tools, and is required by CoinGecko and CoinMarketCap for listing consideration.
What information do I need to verify a contract on Blockscout?
Contract address, Solidity source code, exact compiler version, optimization settings (enabled/disabled, runs count), and constructor arguments if any were used.
Can I verify a contract if I don't have the source code?
Not with standard source verification. If you used CreateMyCoin, the source code is available and can be used for verification. If you used a custom deployment without saving the source, you cannot verify without it.
Are contracts created with CreateMyCoin verified automatically?
Tokens from CreateMyCoin use a standard, audited contract with known source code. You can verify them on Blockscout using that source code plus the deployment settings from your transaction.