Codex Mainnet

powered by Conduit

Run a node

1.Download JSON files
Slug
2.Copy P2P configuration
Bootnodes
Static peers
Optimism fork timestamps
3.Copy public RPC URL
RPC
Download snapshot

Replace the billing project ID and data directory, then run this command to download and extract the latest snapshot from the requester-pays bucket. Snapshots can take up to 4 hours to become available after you enable external nodes.

Snapshot location

gs://conduit-networks-snapshots/codex-mainnet-4s9qf7vr0k

gcloud storage

(
  set -euo pipefail
  export LC_ALL=C
  export CLOUDSDK_BILLING_QUOTA_PROJECT="<billing-project-id>"

  DATADIR="<path/to/datadir>"
  PREFIX="gs://conduit-networks-snapshots/codex-mainnet-4s9qf7vr0k"

  mkdir -p "${DATADIR}"
  WORK="$(mktemp -d "${DATADIR}/.snapshot.XXXXXX")"
  trap 'rm -rf "${WORK}"' EXIT

  if gcloud storage ls "${PREFIX}/snapshot_part_aa.tar.part" >/dev/null 2>&1; then
    gcloud storage cp "${PREFIX}/snapshot_part_*.tar.part" "${WORK}/"
  else
    gcloud storage cp "${PREFIX}/latest.tar" "${WORK}/"
  fi

  cat "${WORK}"/* | tar -xf - -C "${DATADIR}"
)

View the guide for more information.

4.Follow our guide
Go to docs
Run a node for Codex Mainnet | Conduit Hub