Post-Deployment Guide · 10 Minutes
How to Verify Your Contract on Etherscan
Contract verification proves your token does exactly what it claims. It earns the green ✓ checkmark on Etherscan and gives buyers full visibility into your smart contract code.
Why it matters: An unverified contract shows only compiled bytecode on Etherscan - unreadable to humans. A verified contract shows the original Solidity source code. Buyers, traders, and other developers can audit exactly what the contract does before interacting with it. It's one of the highest-trust signals a new token can have.
Before You Start
You'll need the following details - ETHTokenLaunch provides all of these with every deployment:
- Contract address - your token's
0x...address on Etherscan - Solidity compiler version - the exact version used to compile the contract (e.g. v0.8.20)
- Optimisation settings - whether optimisation was enabled and the runs count
- Source code - the full
.solfile for your ERC-20 contract
Step-by-Step: Verifying on Etherscan
Find your contract on Etherscan
Go to etherscan.io and paste your contract address into the search bar. Press Enter.
You'll land on your contract's page. Click the Contract tab. You'll see a yellow banner reading "Are you the contract creator? Verify and Publish your contract source code today!" - click the Verify and Publish link within that banner.
Choose "Solidity (Single file)"
Under Please select Compiler Type, choose Solidity (Single file). This is correct for ETHTokenLaunch contracts.
Leave the License Type as MIT License (MIT) and click Continue.
Select the compiler version and optimisation
From the Compiler Version dropdown, select the exact version used for your deployment. ETHTokenLaunch displays this on your deployment confirmation page.
Set Optimisation to match your deployment settings (ETHTokenLaunch uses Yes with 200 runs by default).
Important: The compiler version and optimisation settings must match exactly what was used during deployment. Even a minor version mismatch will produce different bytecode and verification will fail.
Paste your Solidity source code
In the large Enter the Solidity Contract Code below text area, paste the full .sol source code for your ERC-20 contract.
Leave the Constructor ABI-encoded Arguments field blank - ETHTokenLaunch contracts encode arguments inline. Click Verify and Publish.
Check the result
Etherscan compiles your code and checks it against the deployed bytecode. If it matches, you'll see a ✓ Verified success message.
Your contract's Contract tab on Etherscan now shows a green checkmark. The full source code, ABI, and read/write functions are publicly visible.
Done! Your token now shows as verified on Etherscan. Buyers and traders can inspect the full contract before interacting with it.
Troubleshooting Verification Failures
Bytecode mismatch
The most common failure. Double-check the compiler version - even v0.8.19 vs v0.8.20 produces different bytecode. Verify optimisation is On with 200 runs.
Constructor arguments error
If Etherscan says constructor arguments don't match, the arguments may need to be ABI-encoded and entered in the "Constructor ABI-encoded Arguments" field. Contact ETHTokenLaunch support and we'll provide the exact encoded arguments for your deployment.
Already verified
If the Contract tab already shows a green checkmark, your contract was already verified. No action needed.
What Verification Unlocks
Once verified, your contract page on Etherscan gains three new sub-tabs:
Code
Full Solidity source code with syntax highlighting.
Read Contract
Query token name, symbol, supply, and balances directly from Etherscan.
Write Contract
Call owner functions (like transfer) directly from the Etherscan interface.
Deploy your token first
You'll need a deployed contract before you can verify it on Etherscan.