0/5
_Follow along with this video:_ --- ### Manually verify a smart contract on Etherscan Soooo ... we just deployed our smart contract on Sepolia, let's check it out! We go [here](https://sepolia.etherscan.io/address/0x1093560Fe9029c4fB9044AbF2fC94288970D98Db#code) click on `Contract` and find this: ::image{src='/foundry-simply-storage/21-verify-a-smart-contract-on-etherscan/Image1.PNG' style='width: 75%; height: auto;'} This bytecode looks horrendous. We need to do something to improve the readability (which currently is non-existent). Etherscan is prompting us to do something about it via the message: `Are you the contract creator? Verify and Publish your contract source code today!` So, let's click on `Verify and Publish`. The address of the Contract comes prepopulated, if not please paste it from your terminal. Select `Solidity(Single file)` because we are using solidity and we have only one file. Select your Compiler Version. My contract used solidity 0.8.19. The license type we used is MIT. On the next page, paste your Solidity Contract. Select `Yes` in `Optimization`, and leave everything else as is. Finish up the `verify` process. If you get this message: ``` Successfully generated Bytecode and ABI for Contract Address [0x1093560Fe9029c4fB9044AbF2fC94288970D98Db] ``` you did it right! Now you have access to the `Read Contract` and `Write Contract`. This lets you interact directly with your contract through etherscan. Congratz! You just learned how to verify a smart contract on etherscan, the manual way. This is not the ideal way, in the future, we will teach you how to verify them programmatically.
A foundational guide to Manually Verifying Your Smart Contract on Etherscan - Learn the importance of Etherscan verification and follow the detailed manual steps to publish your source code. Understand how verification builds trust and enables direct contract interaction via Etherscan's Read/Write tabs.
Previous lesson
Previous
Next lesson
Next
Give us feedback
Course Overview
About the course
Foundryup, Foundry Forge, and Anvil
Blockchain Oracles
How to create local Blockchain testnets
How to verify a smart contract
How to write and run smart contract tests
Security researcher
$49,999 - $120,000 (avg. salary)
Smart Contract Engineer
$100,000 - $150,000 (avg. salary)
Web3 developer
$60,000 - $150,000 (avg. salary)
Web3 Developer Relations
$85,000 - $125,000 (avg. salary)
Smart Contract Auditor
$100,000 - $200,000 (avg. salary)
Guest lecturers:
Last updated on May 27, 2025
Solidity Developer
Foundry FundamentalsDuration: 2h 55min
Duration: 2h 56min
Duration: 26min
Duration: 5h 22min
Course Overview
About the course
Foundryup, Foundry Forge, and Anvil
Blockchain Oracles
How to create local Blockchain testnets
How to verify a smart contract
How to write and run smart contract tests
Security researcher
$49,999 - $120,000 (avg. salary)
Smart Contract Engineer
$100,000 - $150,000 (avg. salary)
Web3 developer
$60,000 - $150,000 (avg. salary)
Web3 Developer Relations
$85,000 - $125,000 (avg. salary)
Smart Contract Auditor
$100,000 - $200,000 (avg. salary)
Guest lecturers:
Last updated on May 27, 2025