NG
Porta

Porta

Setup Guide

1. Install

Use our script for a quick installation:

wget -q -O porta.sh https://api.nodes.guru/porta.sh && chmod +x porta.sh && sudo /bin/bash porta.sh

Specify your node name and wait for the installation.

You can check the logs with the command:

journalctl -u portad -f

2. Creating a validator

2.1. Install Polkadot extenstion

To install, go to the website and download the version for your browser:

Porta-0

2.2. Creating an account

For convenience, instead of Controller and Stash accounts, we will create one account named my-stash (you can set up stash/controller/reward accounts manually if you want).

First, go to the website and allow access to the extension in the pop-up window:

Porta-1

We need to create an account, to do this, click Add account:

Porta-2

Then we enter the name of the wallet (in our case it is my-stash), save the mnemonic (produce check elder…), enter the password and click “Next”:

Porta-3

Porta-4

After that, confirm the creation of the account by clicking on Save and download the json file (the download will start automatically):

Porta-5

2.3. Requesting the funds

Public faucet not available at this moment.

First, copy our account address by clicking on the wallet avatar:

Porta-6

We should now see our account in the list of accounts.

Request tokens for your account through the faucet.

Check your wallet, the tokens should appear on the account:

Porta-7

2.4 Staking

Now we need to staking our tokens, to do this, go to the tab Network -> Staking:

Porta-8

Now go to the Account actions tab and click on Stash:

Porta-9

The window for bonding will open, the value bonded will be set automatically, it is not recommended to bond the entire balance:

Porta-10

Approve the tx:

Porta-11

2.5. Session key

Now we need to enter the session key for our account, to do this on the server with the node run the following command:

curl -H "Content-Type: application/json" -d '{"id":1, "jsonrpc":"2.0", "method": "author_rotateKeys", "params":[]}' http://127.0.0.1:9937 | jq .result | sed 's/"//g'

The output should looks like the following:

Porta-12

Copy this value (you can use double left mouse click for quick selection) by pressing Enter or by right-clicking the mouse.

Then go back to the site and click Session key:

Porta-13

In the opened window enter the key that we copied and click Set Session Key, confirm the tx. If successful, you output should looks like the following:

Porta-14

2.6. Connecting the validator

Click Validate:

Porta-15

Set the desired amount of commission, confirm the transaction. Now you should see approximately the following:

Porta-16

Now you should see like the following:

Porta-17

Congratulations, you are now a validator candidate (you can see your account in the Waiting tab)! To become a validator you need to wait for the next era (you can check your validator status here).
To receive validation rewards, complete the form.
Good luck!

Stuck? Ask!

By continuing to use our website, you consent to our use of cookies in accordance with our cookie policy