Nodes

guruGuru
search

Porta - Setup Guide

Back to projectRU
Stuck? AsktelegramNodes Guru telegram community

Rent on

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:

Clover-5

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:

Bitclout-00

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

Porta-1

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-2

Porta-3

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

Porta-4

2.3. Requesting the funds

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

Porta-5

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-6

2.4 Staking

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

Porta-7

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

Porta-8

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

Porta-9

Approve the tx:

Porta-10

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-10

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-11

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-12

2.6. Connecting the validator

Click Validate:

Porta-13

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

Porta-14

Now you should see like the following:

Porta-15

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!