"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 Introduction

"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.

# Install

Example: Install in Chrome browser

  1. In Chrome browser, Download

    • note:make sure it is provided by metamask.io

  2. CLick “Add to Chrome”. It is installed now and you can create your account.

# Create 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

  1. 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-hk.gatenode.cc

Chain ID: 86

Symbol: GT

Block explorer: https://gatescan.org

# Transfer balance from your “gt” account to your MetaMask account.

  1. 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]

  2. Transfer using CLI or RPC:similar to a transfer from a wallet, just provide the recipient address to send transaction to.

[CLI User Guide]

[API User Guide]

# 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.

Read below for how to deploy contract and interact with contract.

Last Updated: 1/14/2022, 11:23:30 AM