How to connect Metamask to Plian

Installing and setting up MetaMask

MetaMask can be downloaded on Chrome and Firefox, or on iOS and Android if you’re a mobile user. For the purposes of this tutorial, we’ll use the Firefox version, but the instructions will be more or less the same for every platform.

Firstly, you’ll want to head over to the MetaMask Download page. From there, select whichever platform you’re using, and follow the steps to install it on your device. Easy!

Next, follow along with the setup specified by the app. Go ahead and click Create a Wallet. Write down the backup seed phrase somewhere secret (preferably not on an Internet-connected device). Without this phrase, your funds can’t be recovered if your device is damaged or lost. Confirm that you’ve written them down on the next page.

And that’s it! You should now see your wallet, ready to send and receive funds.

Configuring the wallet

You might notice straight away that we’re still dealing with an Ethereum wallet. At best, this won’t work with Plian network. At worst, you could lose funds by sending them to addresses you can’t actually use.Let’s change that.

We want to access the Custom RPC to point the wallet towards Plian nodes.

On the setting page, we want to locate the Networks menu.

We want to click Add Network in the top-right corner to manually add the Plian one – it doesn’t come packaged with MetaMask. It’s important to note that there are two networks we can use here: the testnet or the mainnet. Below are the parameters to fill in for each.

Mainnet

  • Main chain

Network Name:

Plian-Mainchain

New RPC URL:

https://mainnet.plian.io/pchain

ChainID:

2099156

Symbol:

PI

Block Explorer URL:

https://piscan.plian.org/pchain
  • Subchain1

Network Name:

 Plian-Subchain1

New RPC URL:

 https://mainnet.plian.io/child_0 

ChainID:

8007736

Symbol:

PI

Block Explorer URL:

https://piscan.plian.org/child_0

Testnet

  • Main chain

Network Name:

Plian-mainchaintest

New RPC URL:

https://testnet.plian.io/testnet

ChainID:

16658437

Symbol:

PI

Block Explorer URL:

https://testnet.plian.org/testnet
  • Subchain1

Network Name:

Plian-subchain1test

New RPC URL:

https://testnet.plian.io/child_test

ChainID:

10067275

Symbol:

PI

Block Explorer URL:

https://testnet.plian.org/child_test

We’re going to use the testnet in this tutorial, but you will likely want to use the mainnet. We recommend adding both if you intend to use MetaMask to transfer PI. Once you Save the Network and return to the main view, you’ll notice two things: the network has automatically been set to the one you just entered, and the units are no longer denominated in ETH, but in PI.

Next, let’s get some funds to play with. Copy your test address to the clipboard. Head over to the Plian Faucet and paste it into the form. Fill out all the info required there and click the button "Get 10 TPI".You might need to wait a couple of minutes, but the funds will show up in your testnet wallet imminently.

Last updated