> For the complete documentation index, see [llms.txt](https://docs.lumoz.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.lumoz.org/verifier/setup-verifier-node/setup-node/build-your-own/2.-configuring-jsonrpc.md).

# 2. Configuring JSONRPC

Configuring JSONRPC in Environment Variables.

## [Build RPC of Lumoz Chian](/verifier/setup-verifier-node/setup-node/build-your-own/1.-build-rpc-of-lumoz-chain.md)

## Configuring Environment Variables

### For Linux/macOS

1. Open the configuration file:

```
nano ~/.bashrc
```

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

2. Add the following line:

```
export JSONRPC_URL=https://your-rpc-endpoint.example.com
```

3. Save the file and apply changes:

```
source ~/.bashrc
```

4. 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

[See here](/verifier/setup-verifier-node/setup-node/build-your-own/2.-run-the-node/run-with-docker-recommended-for-multiple-nodes.md).
