Lumoz Docs
  • Introduction
    • Welcome to Lumoz
    • Understand Lumoz
      • Modular AI Computing Network
      • Nodes
    • Lumoz Chain
    • Bridge
  • Lumoz Decentralized AI
    • Overview
    • Architecture
    • Computational Resource Management
    • Use Cases
    • Chat with Lumoz Decentralized AI
      • Plan
  • AI Agents
    • Overview
    • How Lumoz TEE Works
    • The Core Architecture Design
    • Lumoz AI Agent Framework
  • Compute Node
    • Compute Node
      • Why Compute Node
      • How do Compute Nodes Work
      • Rewards
    • Setup Compute Node
  • Rollup as a Service
    • Overview
    • Lumoz RaaS Stack
    • Rollups Built with Lumoz
  • Verifier
    • Verifer Node Explained
      • Why Verifier Node
      • How do Verifier Node Work
      • License
      • Rewards
    • Purchase Verifier Node
      • Purchase License
        • Buyback Guarantee
      • License Tiers
      • Invitation
      • FAQ
    • Setup Verifier Node
      • Who can run a node?
      • Requirements
      • Setup Node
        • Node as a Service
        • Build your own
          • 1. Initialize a Node
          • 2. Run the Node
            • Run with CLI
            • Run with Docker(recommended for multiple nodes)
          • 3. Update Node Information(optional)
      • FAQ
      • Troubleshooting
    • Delegate Licenses
      • Claim License
      • Delegate Guide
      • Undelegate Guide
    • Staking
      • Staking Guide
      • Unstaking Guide
    • Node Tier
    • Time Cooldown
    • Risk Notice and Disclaimer of Lumoz Verifier Node Sale
  • Roadmap
  • Tokenomics
    • Utility
    • Allocation & Distributions
    • Redemption
  • Contracts
  • Technical Reference
    • Lumoz ZK-PoW
      • ZKP Two-Step Submission
    • Cross-Rollup Communication
      • Prerequisits and Compatibility
      • Process of Native Cross-Rollup Transactions
  • Glossary
  • Resources
Powered by GitBook
On this page
  • Requirements
  • Docker
  • Note:
  1. Verifier
  2. Setup Verifier Node
  3. Setup Node
  4. Build your own

1. Build RPC of Lumoz Chain

Requirements

CPU: 8 core +

RAM: 16 Gb+

Storage: 500 Gb+

Docker

  1. Download docker-compose.yml

curl -L -o ./docker-compose.yml https://download.lumoz.org/lumoz-external-node/docker-run/docker-compose.yml
  1. Download snapshot of Genesis file under the root path of docker-compose.yml

curl -L -o /tmp/genesis.tar https://download.lumoz.org/lumoz-external-node/lumoz-external-node/geth/mainnet/config/genesis.tar && tar -xvf /tmp/genesis.tar -C ./ && rm /tmp/genesis.tar
  1. Start RPC

docker-compose up -d
  1. Check logs

docker logs -f lumoz-mainnet-node
  1. Test

curl http://localhost:9545 \
  -X POST \
  -H "Content-Type: application/json" \
  --data '{"method":"eth_blockNumber","params":[],"id":1,"jsonrpc":"2.0"}'

Note:

RPC address(default): device IP+9545

WS address(default): device IP+9546

If IP is 1.2.3.4, the RPC address will be http://1.2.3.4:9545, and the WS address will be WS://1.2.3.4:9546

Customize port

Edit the docker-compose.yml if you want to change the port.

Port 33666 needs to be opened for external access. This port facilitates stable P2P connections with other external nodes for block data synchronization.

Last updated 3 months ago