"GateChain-Evm" is the native module based on "Gatemint" consensus, which supports "Ethereum" smart contracts and provides rpc services to connect to "MetaMask". Users can deploy and call contracts on "GateChain" by simply switching to "GateChain" network.
"MetaMask" is created to build a more safe and accessible "Ethereum" network. It connects users to blockchain and manage accounts, supported on Chrome, Brave and Safari.
Example: Install in Chrome browser
In Chrome browser, Download
- note：make sure it is provided by metamask.io
CLick “Add to Chrome”. It is installed now and you can create your account.
1.You can choose to import a wallet or create a wallet. Click “Create a wallet”
2.Enter password and backup account mnemonic
3.When the mnemonic is verified, the account is successfully created. You can connect to gatechain now!
Connect MetaMask to GateChain
- Click MetaMask-Setup-Network-Add Network, and configure GateChain network service
Network name: GateChain （customized）
RPC URL1: https://evm.gatenode.cc
RPC URL2: https://evm-cn1.gatenode.cc:6061
Chain ID: 86
Block explorer: https://gatescan.org
Transfer balance from your “gt” account to your MetaMask account.
Transfer from your wallet: copy an MetaMask account address, and paste to the recipient wallet field in your wallet. Transfer- To [Step by step instruction]
Transfer using CLI or RPC：similar to a transfer from a wallet, just provide the recipient address to send transaction to.
Transfer GT to another MetaMask account
1.Chose the account to send asset to, then got to Homepage and click"Send"button
2.Enter the amount and To address, click "NEXT".
3.Double check transaction and click "Confirm". The transaction will be waiting for being included in blockchain.
4.When the transaction is successful, view transaction details from a gatechain block explorer.
- BLock explorer：Click to enter
Read below for how to deploy contract and interact with contract.