NG
Subsocial

Subsocial

Setup Guide

1. Install

Use our script for a quick installation:

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

Set a name for your node and wait for the installation to complete.

You can check the node logs with the following command:

journalctl -u subsociald -f

2. Creating a validator

2.1. Install Polkadot extension

Go to the website and download the version for your browser:

Subsocial-0

2.2. Creating Accounts

First, go to the site and allow access to the extension in the popup window:

Subsocial-1

We need to create an account(s) (you can use existing accounts), to do this click Add account:

Subsocial-2

Then we enter the name of the wallet (in our case it is stash), save the mnemonic (highlighted in the screenshot), enter the password and click “Next”:

Subsocial-3

Subsocial-4

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

Subsocial-5

2.3. Faucet

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

Subsocial-6

Now you need to fill out the google form, in the form specify the wallet address copied above.

Subsocial-7

After a while, check your wallet, the tokens should appear on your account.

2.4. Session keys

We need to get a session key for our account, to do this 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:9933 | jq .result | sed 's/"//g'

The output should looks like this:

Subsocial-8

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

2.5. Validating

Your node must be synced. You should check this, go to the Explorer and make sure that the height of your node is the same as the network.

To become a validator, go to Account actions and click Validator:

Subsocial-9

Set the desired amount of your bond (it is not recommended to bond the full amount, it will automatically be set to a normal value including commissions):

Subsocial-10

Enter your session key (from step 2.4) and set the desired commission rate:

Subsocial-11
Confirm the transaction in the pop-up window.

Congratulations, you are now a validator candidate (you can see your account under Waiting)! You need to wait for the next era to become a full validator, you can check active validator set here.

Stuck? Ask!

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