Skip to content

Mint-Blockchain/mint-node

Repository files navigation

Mint

Mint Node

It currently supports Optimism’s open-source OP Stack.

This repository contains the relevant Docker builds to run your own RPC node for Mint Blockchain.

Hardware Requirements

Recommend minimal configuration to run a node:

  • 2 Core * 8 GB RAM
  • 800GB SSD Drive (Archive Node)

Running Node

Step1: Setting ETH L1 full-node RPC

  • setting OP_NODE_L1_ETH_RPC. need fully synced.
  • setting OP_NODE_L1_BEACON. need a Beacon RPC.
# .env
OP_NODE_L1_ETH_RPC=<your ETH rpc endpoint>
OP_NODE_L1_BEACON=<beacon api rpc>

Step2: Start the node

  • Mainnet
docker compose -f docker-compose-mainnet.yml up --build -d
  • Sepolia Testnet
docker compose -f docker-compose-testnet-sepolia.yml up --build -d

Step3: Check your node

curl -d '{"id":0,"jsonrpc":"2.0","method":"eth_blockNumber","params":[]}' -H "Content-Type: application/json" http://localhost:8545

Tips

  1. You can map a local data directory for op-geth by adding volume mapping to docker-compose-xxx.yml:
services:
  geth: # this is Optimism's geth client
    volumes:
      - /data/node_data:/data
  1. Default node type is archive. you can change it via op-geth-entrypoint.
--gcmode=full

Snapshots

Mainnet

Testnet

Usage

mkdir -p /data/node_data/geth

# Download, You can choose one of two ways to download,Using aria2c to download can improve download speed, but you need to install aria2
step1: download

wget -c  https://storage.googleapis.com/mint-snapshot/mint-mainnet-archive-snapshot-20250214.tar.zst 

step2: unarchive

aria2c -x 16 -s 16 -k 100M  https://storage.googleapis.com/mint-mainnet-archive-snapshot-20250214.tar.zst 

# unzip snapshot to the ledger path:
tar --use-compress-program=unzstd -xvf mint-mainnet-archive-snapshot-20250214.tar.zst -C /data/node_data/geth

step3: check
$ ls /data/node_data/geth
chaindata

Troubleshooting

If you encounter problems with your node, please open a GitHub issue or reach out on our Discord:

About

Everything required to run your own Mint rollup node

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •