Building and running from source [advanced]
This section is intended for power users who are sure what they are doing: it is not recommended by default.
The differences with the Testnet procedure as as follows:
The code version
In the aleph-node
repository, you need to checkout the tag returned by https://alephzero.org/developers#developer-resources (Mainnet section).
Environment variables
Same as on the Testnet.
The database snapshot
Needs to be downloaded from: https://azero-snapshots.dev/mainnet/rocksdb-pruned.html This link will always point to the latest version of the snapshot, taken weekly.
You need to save it to chains/mainnet
in your data directory.
The chainspec
You can download the chainspec from: https://raw.githubusercontent.com/Cardinal-Cryptography/aleph-node/r-15.2.0/bin/node/src/resources/mainnet_chainspec.json , where r-15.2.0
is Mainnet version tag taken from https://alephzero.org/developers#developer-resources (Mainnet section).
The bootnodes
In your environment, set the BOOT_NODES
to:
Last updated
Was this helpful?