Junod Installation and setup
Instruction to install and configure the junod binary
Choose an Operating System
The operating system you use for your node is entirely your personal preference. You will be able to compile the junod
daemon on most modern linux distributions and recent versions of macOS.
For the tutorial, it is assumed that you are using an Ubuntu LTS release.
If you have chosen a different operating system, you will need to modify your commands to suit your operating system.
Install pre-requisites
Install Go
Follow the instructions here to install Go.
For an Ubuntu, you can probably use:
Please install Go v1.19.2 or later.
Unless you want to configure in a non standard way, then set these in the .profile
in the user's home (i.e. ~/
) folder.
After updating your ~/.profile
you will need to source it:
Build Juno from source
The <version-tag>
will need to be set to either a testnet chain-id
or the latest mainnet version tag.
For genesis (Phoenix 2), the mainnet genesis version tag will be v9.0.0
- i.e:
If you plan to use a snapshot or state sync to sync your node, you will need the latest binary. Check Mainnet Upgrades for the latest upgraded binary version.
Once you're on the correct tag, you can build:
To confirm that the installation has succeeded, you can run:
Configure `junod` to connect to public RPC
Follow these instructions to configure your junod
binary to connect to public RPC for submitting transactions and making queries to the Juno network if you will not be syncing a node.
Set the chain-id
Set the public RPC node
You will now be able to make transactions and queries with junod
. For more information on junod commands see Module Reference or execute junod --help
Last updated