Skip to content

Instantly share code, notes, and snippets.

@amc-ie
Last active May 31, 2024 13:03
Show Gist options
  • Save amc-ie/4720603e4fe9eae67330792b4247758d to your computer and use it in GitHub Desktop.
Save amc-ie/4720603e4fe9eae67330792b4247758d to your computer and use it in GitHub Desktop.
Mainnet 2.0.0 6hr offline timer release

Connecting to the Mainnet network

Debian Packages:

Debian Repository: First, set up and update the unstable Debian Repository for your platform with the following commands:

sudo rm /etc/apt/sources.list.d/mina*.list
sudo echo "deb [trusted=yes] http://packages.o1test.net $(lsb_release -cs) unstable" | sudo tee /etc/apt/sources.list.d/mina.list
sudo apt-get update

Then, install the package(s) that you need:

Mina Daemon:
sudo apt-get install --allow-downgrades -y mina-mainnet=2.0.0-feature-6hr-offline-timer-and-no-txn-error-60afdad

Mina Archive:
sudo apt-get install --allow-downgrades -y mina-archive=2.0.0-feature-6hr-offline-timer-and-no-txn-error-60afdad

Mina Archive Schema: create_schema.sql
Config File: var/lib/coda/config_60afdad2.json

Docker Images:

Every docker image is built for each of the supported platforms, replace CODENAME in the images below with your choice of focal, buster, or bullseye to select the base docker image.

Mina Daemon: gcr.io/o1labs-192920/mina-daemon:2.0.0-feature-6hr-offline-timer-and-no-txn-error-60afdad-CODENAME-mainnet
Mina Archive: gcr.io/o1labs-192920/mina-archive:2.0.0-feature-6hr-offline-timer-and-no-txn-error-60afdad-CODENAME
Mina Archive Schema: create_schema.sql
Mina Rosetta: gcr.io/o1labs-192920/mina-rosetta:2.0.0-feature-6hr-offline-timer-and-no-txn-error-60afdad-focal

Step by Step Guide:

Run mina daemon with the following seed list parameter: --peer-list-url https://storage.googleapis.com/mina-seed-lists/mainnet_seeds.txt

If you are running the correct version on the correct network, mainnet will show:

Chain id:     5f704cc0c82e0ed70e873f0893d7e06f148524e3f0bdae2afb02e7819a0c24d1
Git SHA-1:    60afdad223067e63bc1f8e112d779487048dc753
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment