Web3 is fascinating! Did you know that you are able to access the source code of any NFT smart contract deployed in the Ethereum network?
Let's see how:
The best way to view the smart contracts is through Etherscan, an Ethereum block explorer. Etherscan allows users to easily search and browse transactions and blocks. It’s like the Google of Ethereum.
Go to Etherscan through https://etherscan.io: This is the landing page that you’ll see:
Now, we are going to search the smart contract of a popular NFT marketplace,Bored Ape Yatch Club. We will type in the symbol which is BAYC inside the search bar.
Scroll down through the filter search bar under Tokens (ERC 721).
Click on the “BoredApeYachtClub(BAYC)” and you'll be automatically redirected to the site containing the contract details.
You will immediately see this page:
On your far right you will see “Profile summary” containing the contract address, the official site link and the social profles.
Click on the contract address. This is the site that you’ll see:
Scroll downwards and you’ll immediately see this:
Click on the contract tab that has a green tick on the right. You will be immediately redirected to this page:
Scroll downwards and you’ll see the smart contract code. Fascinating!
A practical example of decentralization in web3.
Top comments (0)