Setup
These instructions will help you set up a new Nomic Stakenet node from scratch. If you are already running an older Nomic node, follow the upgrade instructions instead.
Requirements
- >= 4GB RAM
- >= 100GB of storage
- Linux or macOS
1. Build Nomic
Start by building Nomic.
- Install rustup if you haven't already:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
- Install required dependencies:
Ubuntu/Debian:
sudo apt install build-essential libssl-dev pkg-config clang
Fedora:
sudo dnf install clang openssl-devel && sudo dnf group install "C Development Tools and Libraries"
- Clone the repo and switch to the correct directory and branch:
git clone https://github.com/nomic-io/nomic.git
cd nomic
git checkout main
- Build and install. This adds a
nomic
command to your PATH:
cargo install --locked --path .
nomic --version
2. Run your node
Start your Nomic node:
nomic start
This will run the Nomic state machine and a Tendermint process. For new nodes, the state-sync process will run automatically to get the node up to speed with the current chain.