Blockchain browser and contract code

statement

This article is one of the series of tutorials on interaction between Vue3.0 +Quasar+ ethers.js and Ethereum smart contracts  .

start

Blockchain explorer

In this tutorial, I have been saying that the blockchain is decentralized, and what it wants to create is a data world where data can never be tampered with and is open and transparent.

Then the most important part of such a blockchain is that it needs an easy-to-understand platform that ordinary users can view at any time.

This is the blockchain explorer.

The blockchain browser is different from the browsers we usually use. The browsers we usually use index and display various data, but the blockchain browser only displays data related to blocks, including various Various transactions, contract codes and other information.

On the blockchain browser, you can see all the data of the blockchain world.

One of the most famous blockchain explorers is: https://etherscan.io/

The interface is as follows:

smart contract code

How to use the blockchain browser is not the focus of this tutorial. The most important thing here is that we need to learn to view a contract on the blockchain browser.

As I said, smart contracts are open and transparent, and you can see all the codes of each contract on the blockchain browser.

Here we can find a token contract, such as USDT:

https://etherscan.io/token/0xdac17f958d2ee523a2206206994597c13d831ec7

Click again: CODE (code)

Here we can see all the code of this contract.

Guess you like

Origin blog.csdn.net/qq_22502303/article/details/126317433