# RPC Setup

### Command Line Configuration

### Lucent Network Mainnet is <mark style="color:green;">now live</mark>:

We are delighted to inform you that the **Lucent Mainnet** has been successfully deployed and has passed all tests. The network is now fully operational and ready for use.\
\
**Lucent Network Mainnet details**:\
\
Here are the network access details:\
🔗 1. RPC  \
<https://rpc.lucent.network/rpc>

🔁 2. Bridge\
<https://bridge.lucent.network>

🔍 3. Explorer\
<https://explorer.lucent.network>

If you need to run your own P2P node for more efficient access to the Lucent Mainnet, simply follow the setup guide below to get started easily:

📄 Lucent Mainnet Node Startup Guide\
<https://valiant-license-ca4.notion.site/Soon-Node-Lucent-Mainnet-Startup-1dce49a418fb80149b6ef20dd1fdd307>

#### Set Up RPC through Terminal (Lucent Network Testnet)

This guide will help you configure your development environment's RPC connection.\
\
Run the following command to set the RPC URL to Lucent Network Testnet:

```html
solana config set --url https://rpc.testnet.lucent.network/rpc 
```

Or SOON Faucet Devnet(easy to get test tokens):

```bash
solana config set --url https://rpc.fc.devnet.soo.network/rpc
```

#### Verify Configuration

Run the following command to verify your setup:

```bash
solana config get
```

You should see output similar to:

```
Config File: /home/xxxx
RPC URL: https://rpc.testnet.lucent.network/rpc 
WebSocket URL: wss://rpc.testnet.soo.network/rpc (computed)
Keypair Path: /home/xxxxx
Commitment: confirmed
```

### Solana Playground Configuration

If you're using Solana Playground for development, follow these steps to configure RPC:

1. Click the settings button on the left
2. Select "Custom" in the Endpoint settings
3. Enter Soon's RPC URL:&#x20;

   ```
   https://rpc.testnet.soo.network/rpc
   ```

   or&#x20;

   ```
   https://rpc.fc.devnet.soo.network/rpc  
   ```

&#x20; （# Recommended: easier to obtain test tokens）

### Important Notes

1. **Development Phase**:
   * Lucent is currently in Testnet, and is set to release its mainnet in May 2025
2. **Network Selection**:
   * SOON Faucet Devnet recommended for development
   * Easier access to test tokens for development

### Common Issues

1. **Connection Failures**:
   * Ensure a stable network connection
   * Verify the correct RPC URL input
   * Check firewall settings
2. **Config File Location**:
   * Linux/MacOS: `~/.config/solana/cli/config.yml`
   * Windows: `C:\Users\<USERNAME>\.config\solana\cli\config.yml`

***

{% hint style="info" %}
Note: Our dedicated testnet and mainnet are under development. Once available, this documentation will be updated with the new network information.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://lucent-network.gitbook.io/docs/using-lucent/rpc-setup.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
