Become Testnet Fullnode From Source
Instructions to install the oraid binary and run as a service by systemd
Last updated
Was this helpful?
Instructions to install the oraid binary and run as a service by systemd
Last updated
Was this helpful?
This tutorial assumes that your node is running Ubuntu LTS version (i.e: 18.04, 20.04 or 22.04). It does not work with Ubuntu 16.04 or older versions.
The Golang version should be from 1.22.11 and above If you have not installed it yet, you can refer to .
Make sure that $GOPATH
is in your $PATH
. It's the crucial part of this tutorial.
If your node does not have Make, install using:
You need to install Gcc to build the binary. Type:
Please define the $ORAI_HOME
environment variable which will be used as the working directory, in this tutorial we will assume that your $ORAI_HOME
is root
. If you don't define it, all of the following installations will be using your $HOME
folder as $ORAI_HOME
, please replace $ORAI_HOME
with $HOME
in the corresponding commands (except export ORAI_HOME command).
Make sure your user has enough permissions to write data to the $ORAI_HOME
folder.
The <version-tag>
will need to be set to either a testnet or the latest mainnet version tag.
The current mainnet version tag will be v0.50.9
- i.e:
Next, you should be able to build the binary file using the below command:
After running the above commands, your oraid
binary can be found in $GOPATH/bin
.
To confirm that the installation is succeeded, you can run (please make sure that $GOPATH/bin
is in your $PATH
):
The current binary version for Linux users is v0.50.9
Libwasmvm version: oraid query wasm libwasmvm-version
, which should give: 2.1.3
Use oraid to initialize your node (replace the NODE_NAME with a name of your choosing):
Download and place the genesis file in the orai config folder:
2 directories, 7 files
Update seed and persistent_peers address
Start your node