MetaMask Configuration
In this guide, you will learn how to use the MetaMask extension to send and receive tokens and interact with the Planq network.
Connecting with MetaMask
First, you will need to connect your MetaMask wallet to the Planq network:
Click the "My Account" button in the top right corner. Then select "Networks" in the settings menu.
Click "Add Network":
This button should open a Webpage, if you scroll down you should see an option to add a network manually.
Fill in the following details:
Name: Planq
New RPC URL:
https://evm-rpc.planq.network
;Chain ID: 7070
Symbol:
PLQ
Block explorer URL:
https://evm.planq.network/
After saving the network configuration, we should be able to see the token in your address.
Importing private keys to MetaMask
Alternatively, We can export the private keys by using the unsafe-export-eth-key
command with planqd.
For example:
It will show your private key and you can copy it for the next step. Click the "My Account" button at the top right corner again. Then, select "Import Account":
Paste your private key string from the previous step and click "Import".
Once it has been connected, you should see your token balance and you can then begin performing transactions using your MetaMask wallet!
Address conventions
Please note that the address format in Planq is in there form of bech32 plq...
, we can use planqd debug addr
to convert an address between hex and bech32. For example:
Remarks: You will need to add 0x
at the beginning when using the Ethereum HEX address shown as above. For example: Address (hex): 2F743F55AC49A446484988505244941DEDA1B60A
implies that 0x2F743F55AC49A446484988505244941DEDA1B60A
will be the address in Ethereum.
Resetting your account on MetaMask
If you come across any issue with your MetaMask account or if you have used your imported account to perform transactions in the legacy testnet, you can reset it by using the Reset Account
function.
Simply go to Setting/Advance
and click Reset Account
: