Remix restores deployed contracts

1. Import the source code

Can connect locally

2. Select the previous compiler to compile

3. Inject web3, select matemask to log in, the account is the account that deployed the contract before

4. Fill in the contract address and click "At Adrress"

The function of the contract will be displayed below

Then you can interact

 

Guess you like

Origin blog.csdn.net/u013288190/article/details/123864671