For the complete documentation index, see llms.txt. This page is also available as Markdown.

2. Configuring JSONRPC

Configuring JSONRPC in Environment Variables.

Build RPC of Lumoz Chian

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:

Using Command Prompt:

Verify:

• Close and reopen Command Prompt.

• Run:

Using PowerShell:

Verify:

• Close and reopen PowerShell.

• Run:

For Docker

See here.

Last updated