# Connecting to The Root Network

The simplest way to connect to one of the TRN networks is by using [The Root Network Portal](https://portal.rootnet.cloud/#/explorer). This web portal enables communication with a node through WebSocket. You can choose the network to connect to by selecting it from the **Root** dropdown in the top left corner and clicking **Switch**.

<figure><img src="https://3256352257-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT6gxnIEZBJbdOqWAd2yF%2Fuploads%2Ff6eM8PBQhQqzOUlPgLOx%2Fimage.png?alt=media&#x26;token=5517e954-f4ce-4ff3-a00b-a58af4960421" alt=""><figcaption></figcaption></figure>

### Network Endpoints

When connecting to The Root Network through the API, you can choose to connect to a public web socket or a local node.

{% hint style="info" %}
The Root Network RPC servers are not for sustained or business use, and they may become unavailable at anytime. You should run your node or use an RPC Service like Rootscan RPC for regular use.
{% endhint %}

### Root (Mainnet)

<table data-header-hidden><thead><tr><th width="221"></th><th></th></tr></thead><tbody><tr><td><strong>Native RPC</strong></td><td><pre><code>wss://root.rootnet.live/archive/ws
</code></pre></td></tr><tr><td><strong>EVM RPC</strong></td><td><pre><code>https://root.rootnet.live/archive
</code></pre></td></tr><tr><td><strong>Block Explorers</strong></td><td><pre><code>https://explorer.rootnet.live
</code></pre><pre><code>https://rootscan.io
</code></pre></td></tr><tr><td><strong>Chain ID</strong></td><td><pre><code>7668
</code></pre></td></tr><tr><td><strong>Currency</strong></td><td><pre><code>XRP
</code></pre></td></tr></tbody></table>

### Porcini (Testnet)

<table data-header-hidden><thead><tr><th width="234"></th><th></th></tr></thead><tbody><tr><td><strong>Native RPC</strong></td><td><pre><code>wss://porcini.rootnet.app/archive/ws
</code></pre></td></tr><tr><td><strong>EVM RPC</strong></td><td><pre><code>https://porcini.rootnet.app/archive
</code></pre></td></tr><tr><td><strong>Block Explorers</strong></td><td><pre><code>https://explorer.rootnet.cloud
</code></pre><pre><code>https://porcini.rootscan.io
</code></pre></td></tr><tr><td><strong>Chain ID</strong></td><td><pre><code>7672
</code></pre></td></tr><tr><td><strong>Currency</strong></td><td><pre><code>XRP
</code></pre></td></tr></tbody></table>

### Sprout-1 (Devnet)[​](https://trn-docs-ducgvuucq-futureverse.vercel.app/buidl/quick-references#sprout-1-devnet) <a href="#sprout-1-devnet" id="sprout-1-devnet"></a>

<table data-header-hidden><thead><tr><th width="237"></th><th></th><th data-hidden></th></tr></thead><tbody><tr><td><strong>Native RPC</strong></td><td><pre><code>wss://porcini.devnet.rootnet.app/ws
</code></pre></td><td></td></tr><tr><td><strong>EVM RPC</strong></td><td><pre><code>https://porcini.devnet.rootnet.app
</code></pre></td><td></td></tr><tr><td><strong>Block Explorer</strong></td><td><p></p><pre><code>https://trn-block-explorer-git-uat-devnet-futureverse.vercel.app
</code></pre><pre><code>https://devnet-porcini.rootscan.io/
</code></pre></td><td></td></tr><tr><td> <strong>Chain ID</strong></td><td><pre><code>17672
</code></pre></td><td></td></tr><tr><td><strong>Currency</strong></td><td><pre><code>XRP
</code></pre></td><td></td></tr></tbody></table>
