When we deploy the contract, in order to make it closer to the real blockchain decentralized experience, we need to call the little fox (Metamask) to conduct real transactions. However, there is no built-in virtual test currency in metamask. We need to call Ganache to add the The account of the virtual test coin. The above is the relationship between the three. Let’s officially start our contract on-chain experience.
1. Start Ganache
The page options are default and start directly.
2.Metamask adds ganache account
Find Add Network in Settings