Skip to main content

Running a mainnet node

The steps for running mainnet are for the most part, the same as testnet except that the github repo is here https://github.com/provenance-io/mainnet and the chain id is pio-mainnet-1

Step 1:download the latest quickysync via https://provenance.io/quicksync and latest provenanced version.
At the time of writing this document latest version on mainnet was v1.16.0.
Download release from https://github.com/provenance-io/provenance/releases/
For e.g for version v1.16.0 url is https://github.com/provenance-io/provenance/releases/tag/v1.16.0
Step 2:Untar data directory from the quicksync download and replacing the untarred data directory to $PIO_HOME/data
Step 3: Run the below commands
export PIO_HOME=~/.provenanced // or directory of your choosing.
provenanced init choose-a-moniker --chain-id pio-mainnet-1
curl https://raw.githubusercontent.com/provenance-io/mainnet/main/pio-mainnet-1/genesis.json> genesis.json
mv genesis.json $PIO_HOME/config
Step 4: provenanced start --p2p.seeds 40f9493fa7ab4259159240e9a8ba12f90743079b@seed.provenance.io:26656 --x-crisis-skip-assert-invariants