Run the node first, then the miner. Use your own wallet address for rewards.
git clone https://github.com/iriumlabs/irium.git
cd irium
source ~/.cargo/env
cargo build --release
./target/release/iriumd
sudo systemctl enable --now iriumd
sudo journalctl -u iriumd -f
./target/release/irium-wallet init
./target/release/irium-wallet new-address
./target/release/irium-wallet list-addresses
export IRIUM_MINER_ADDRESS=<YOUR_IRIUM_ADDRESS>
./target/release/irium-miner --threads 2
Tip: the miner auto-loads /etc/irium/miner.env if it exists. Shell exports override the file.
export IRIUM_RPC_TOKEN=$(openssl rand -hex 24)
# use the same token for node + miner
export IRIUM_NODE_RPC=http://<node-ip>:38300
IRIUM_RPC_TOKEN in node and miner.IRIUM_RATE_LIMIT_PER_MIN on the node.sudo journalctl -u irium-miner -f
Base: https://api.iriumlabs.org/
curl https://api.iriumlabs.org/api/stats
curl https://api.iriumlabs.org/api/block/1
curl "https://api.iriumlabs.org/api/blocks?limit=10"
Docs: Quickstart