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
  • Build RPC of Lumoz Chian
  • Configuring Environment Variables
  • For Linux/macOS
  • For Windows
  • For Docker
  1. Verifier
  2. Setup Verifier Node
  3. Setup Node
  4. Build your own

2. Configuring JSONRPC

Last updated 2 months ago

Configuring JSONRPC in Environment Variables.

Configuring Environment Variables

For Linux/macOS

  1. Open the configuration file:

nano ~/.bashrc

(For Zsh, use ~/.zshrc instead.)

  1. Add the following line:

export JSONRPC_URL=https://your-rpc-endpoint.example.com
  1. Save the file and apply changes:

source ~/.bashrc
  1. Verify:

echo $JSONRPC_URL

For Windows

Using the System Settings:

1. Open Environment Variables:

• Press Win + R, type sysdm.cpl, and hit Enter.

• Go to the Advanced tab and click on Environment Variables.

2. Add a New Variable:

• Under User variables or System variables, click New.

• Enter JSONRPC_URL as the name and {your_rpc} as the value.

• Click OK to save.

3. Verify:

• Open a new Command Prompt and run:

echo %JSONRPC_URL%

Using Command Prompt:

setx JSONRPC_URL https://your-rpc-endpoint.example.com

Verify:

• Close and reopen Command Prompt.

• Run:

echo %JSONRPC_URL%

Using PowerShell:

[System.Environment]::SetEnvironmentVariable("JSONRPC_URL", "https://your-rpc-endpoint.example.com", "User")

Verify:

• Close and reopen PowerShell.

• Run:

$env:JSONRPC_URL

For Docker

.

Build RPC of Lumoz Chian
See here