Find answers instantly with AI search. Start typing your prompt below and let AI do the digging for you!

Running a SagaEVM Full Node

You can run SagaEVM as a full node in your own environment. The instructions provided below are for launching a full node using docker-compose but they can be adapted for systemd service, docker, kubernetes or your favorite orchestrator.

  1. Copy and paste the following code snippet into a local file on your machine. In this example, we will assume it is docker-compose.yml

version: '3'

services:
  sagaevm-fullnode:
    container_name: sagaevm-fullnode
    image: "sagaxyz/sagaos:0.14.1"
    command: ["./start-fullnode.sh"]
    environment:
      - CHAIN_ID=sagaevm_5464-1
      - DENOM=gas
      - GENESIS_URL=https://saga-public-assets.s3.us-east-1.amazonaws.com/genesis/mainnet/sagaevm_5464-1_genesis.json
      - MONIKER=sagaevmfullnode
      - [email protected]:26014,[email protected]:17300,[email protected]:11156,[email protected]:11156,[email protected]:11156
      - PRUNING=default # or nothing if you want to run an archive node
      - SYNC_RPC=https://sagaevm-5464-1-cosmosrpc.jsonrpc.spsrv1.sagarpc.io:443,https://sagaevm-5464-1-cosmosrpc.jsonrpc.spsrv2.sagarpc.io:443
    networks:
      localnet:
        ipv4_address: 192.168.0.10
    

networks:
  localnet:
    driver: bridge
    ipam:
      driver: default
      config:
        -
          subnet: 192.168.0.0/16

  1. After saving the file, run docker-compose up sagaevm-fullnode

Last updated