Manual Installation
This page describes how to install the Humanode Peer without the use of Humanode Launcher or Humnode Distribution.
Downloading the binaries
How it works
We have a JSON manifest that you can use to obtain the package.
Manifest URL
Check the Chains page for the particular chain you would like to run. We will use the Humanode Mainnet manifest in the instructions below as an example.
To download and inspect the manifest run the command below:
$ curl -sSL "https://chainspec.mainnet.stages.humanode.io/latest/manifest.json" | jq .
{
"binaries": [
...
Setting up the humanode-peer
binary
humanode-peer
binaryFind the binaries for your platform in the manifest. In case of Linux, it's an entry with the following subUrl:
/latest/binaries/Linux-x86_64/humanode-peer
Use the path together with the domain from the manifest URL to get the binary download link:
https://chainspec.mainnet.stages.humanode.io/latest/binaries/Linux-x86_64/humanode-peer
Download the humanode-peer
binary using the obtained link:
$ curl -sSL "https://chainspec.mainnet.stages.humanode.io/latest/binaries/Linux-x86_64/humanode-peer" -o humanode-peer
Make the binary executable and install it into the system:
$ chmod +x humanode-peer
$ sudo cp humanode-peer /usr/local/bin/
Downloading the chainspec file
Using the same manifest we have obtained above, find and download the chainspec.json
file.
In our case, this is the file with the following subPath
:
/latest/chainspec.json
Use the hostname from the manifest URL to obtain the chainspec file URL, like in the humanode-peer
step:
https://chainspec.mainnet.stages.humanode.io/latest/chainspec.json
Then download the chainspec.json
$ curl -sSL "https://chainspec.mainnet.stages.humanode.io/latest/chainspec.json" -o ~/chainspec.json
We are now ready to proceed to the next step.
Downloading the RPC Tunnel
In the same way, you can download and use ngrok
, humanode-websocket-tunnel
and ngrok-wrapper
.
Last updated