Running the Node
Running the peer
Once you have downloaded all the required binaries, you'll have to run the node. We'll start by generating the bioauth key.
Bioauth key generation
Generate your bioauth key, the one that is to be used for enrolment and authentication.
Bioauth key import
Copy the secret phrase and import it into Keystore.
Where:
--key-type kbai
- bioauth key type used in the Humanode networks.--suri "$SECRET_PHRASE"
- your secret phrase (i.e., mnemonic) from the previous command.--chain chainspec.json
- path to the Humanode chain specification file.
Run the tunnel
The humanode peer uses 9944
RPC endpoint by default. You are free to use any of your choices. But don't forget to explicitly specify the same port during the peer-run in case using a different one from 9944
.
Run the tunnel using ngrok-wrapper
Run the peer
There are 2 options to run it:
Using
--rpc-url-ngrok-detect
subcommand to automatically detect RPC URLs fromngrok-wrapper
that you have already launched before.You can manually specify RPC URL from
ngrok-wrapper
output console.
Where:
--name "$NAME"
- where$NAME
is your Humanode peer name.--validator
- means that you join the network as a block producer.--chain chainspec.json
- a path to the file that contains the Humanode chain specification.--rpc-url "$RPC_URL"
- the peer's RPC URL, where$RPC_URL
is the URL that you noted at thengrok-wrapper
configuration step, or your own URL if you're not usingngrok-wrapper
.--rpc-url-ngrok-detect
- to detect peer's RPC URL automatically fromngrok-wrapper
(mutually exclusive with--rpc-url
).
We strongly recommend using --rpc-url-ngrok-detect
subcommand to avoid facing unexpected issues.
Your node has been installed and configured successfully. Now move to the Guide to Become a Validator.
Last updated