Fullnode Installation Guide
Chain ID: mayachain-mainnet-v1 | Current Node Version: v1.111.0
Install Go and other requirements
Install Go
We will use Go v1.22.0
as an example here. The code below also cleanly removes any previous Go installation.
Configure Go
Unless you want to configure in a non-standard way, then set these in the ~/.bash_profile
for bash and ~/.zshrc
for zsh.
Install dependencies protobuf-compiler
Install docker and docker compose plugin
https://docs.docker.com/engine/install/
Install Node
Install the current version of node binary.
*You can see tags in mayanode's repo tags
Install binary
Run Node
Create Service File
Create a mayanode.service
file in the /etc/systemd/system
folder with the following code snippet. Make sure to replace USER
with your Linux username. You need sudo privilege to do this step.
Download Snapshot
Please use a snapshot in order to avoid syncing from start. You will need to install aws-cli
Start Node Service
Other Considerations
This installation guide is the bare minimum to get a node started. You should consider the following as you become a more experienced node operator.
Configure firewall to close most ports while only leaving the p2p port (typically 27146) open
Use custom ports for each node so you can run multiple nodes on the same server
If you find a bug in this installation guide, please reach out to our Discord Server and let us know.
Last updated