Connect your Metamask wallet with Kynno. {synopsis}

The MetaMask browser extension is a wallet for accessing Ethereum-enabled applications and managing user identities. It can be used to connect to {{ $ }} through the official testnet or via a locally-running {{ $ }} node.

::: tip If you are planning on developing on Kynno locally and you haven’t already set up your own local node, refer to the quickstart tutorial, or follow the instructions in the GitHub repository. :::

Adding a New Network

Open the MetaMask extension on your browser, you may have to log in to your MetaMask account if you are not already. Then click the top right circle and go to Settings > Networks > Add Network and fill the form as shown below.

::: tip You can also lookup the EIP155 Chain ID by referring to Alternatively, to get the full Chain ID from Genesis, check the Chain ID documentation page. :::

metamask networks settings

Here is the list of fields that you can use to paste on Metamask:

:::: tabs

::: tab Mainnet

  • Network Name: {{ $ }} Mainnet
  • New RPC URL: {{ $themeConfig.project.rpc_url }}
  • Chain ID: 9701
  • Currency Symbol (optional): KYN
  • Block Explorer URL (optional): n/a :::

::: tab Testnet

  • Network Name: Kynno Testnet
  • New RPC URL:
  • Chain ID: 9700
  • Currency Symbol (optional): TKYN
  • Block Explorer URL (optional): n/a :::

::: tab Local Node

  • Network Name: Kynno Local
  • New RPC URL: http://localhost:8545
  • Chain ID: 9700
  • Currency Symbol (optional): LKYN
  • Block Explorer URL (optional): n/a ::: ::::

Import Account to Metamask

Close the Settings, go to My Accounts (top right circle) and select Import Account. You should see an image like the following one:

metamask manual import account page

Now you can export your private key from the terminal using the following command. Again, make sure to replace mykey with the name of the key that you want to export and use the correct keyring-backend:

kynnod keys unsafe-export-eth-key mykey

Go back to the browser and select the Private Key option. Then paste the private key exported from the unsafe-export-eth-key command.

Your account balance should show up as 1 {{ $themeConfig.project.testnet_ticker }} and do transfers as usual.

::: tip If it takes some time to load the balance of the account, change the network to Main Ethereum Network (or any other than Localhost 8545 or {{ $ }}) and then switch back to {{ $ }}. :::

Reset Account

If you used your Metamask account for a legacy testnet/mainnet upgrade, you will need to reset your account in order to use it with the new network. This will clear your account's transaction history, but it won't change the balances in your accounts or require you to re-enter your Secret Recovery Phrase.

::: warning Make sure you download your account state to persist public account addresses and transactions before clearing your wallet accounts. :::

Go to Settings > Advanced and click the Reset Account button as shown below:

Metamask Account Reset

Download Account State

To see your Metamask logs, click the top right circle and go to Settings > Advanced > State Logs. If you search through the JSON file for the account address you'll find the transaction history.