# Setup RPC

Set up Base Goerli on MetaMask Wallet

Polynomial is live on Base Goerli (testnet), a layer Base testnet environment. To interact and trade on Polynomial, you will need to setup your wallet and connect it to Base Goerli.

Metamask is the most used wallet on EVM and you can find it here: <https://metamask.io/>

### Automatic Setup

1. Go to <https://goerli.basescan.org/>
2. Scroll to the bottom and click on right "Add Base Goerli Network".

<figure><img src="https://content.gitbook.com/content/5bkfk6Ou7rJFYDoM6vJH/blobs/49KbREMAqXZ817R5p1Hb/goerlibase.png" alt=""><figcaption></figcaption></figure>

3. Metamask popup will open and show the network configuration for Base Goerli; clicking "Approve" you will configure your wallet's setting for Base Goerli.

<figure><img src="https://content.gitbook.com/content/5bkfk6Ou7rJFYDoM6vJH/blobs/DKVQg9906IsEHQ5jlGQc/base.png" alt="" width="345"><figcaption></figcaption></figure>

4. Click on "Switch network" to start using Goerli Base Chain.

<figure><img src="https://content.gitbook.com/content/5bkfk6Ou7rJFYDoM6vJH/blobs/OzRBlT4kmxYtEvWfA17Y/switch.png" alt="" width="350"><figcaption></figcaption></figure>

### Manual Setup

Alternatively, you can add Base Goerli manually in MetaMask's network settings:

* Network Name: **Base Goerli**
* RPC URL: **<https://goerli.basescan.org/>**
* Chain ID: **84531**
* Currency Symbol: **ETH**
* Block Explorer URL: **<https://goerli.basescan.org/>**

### Update RPCs

Sometimes, the RPC endpoint for Base Goerli may not function properly, causing slow loading or even a complete lack of loading. To ensure uninterrupted use of the chain, it is recommended to have alternative RPCs provided by third-party services such as [**Alchemy**](https://www.alchemy.com/), [**Infura**](https://www.infura.io/), [**QuickNode**](https://www.quicknode.com/chains/optimism), and [**Ankr**](https://www.ankr.com/rpc/optimism/). A comprehensive list of RPCs and their status can also be found on [**Chainlist**](https://chainlist.org/chain/10).

#### If you encounter this issue, please follow the steps below to change the RPC endpoint:

1. Open your MetaMask and click **`Setting`**;
2. Select the **`Network`** section;
3. Choice the Network "Base Goerli";
4. In the "New RPC URL" field enter the new endpoint URL and **`Save`** the changes .

<figure><img src="https://content.gitbook.com/content/5bkfk6Ou7rJFYDoM6vJH/blobs/VBs6D9uPdsJ5pIAumdsO/Group%204.png" alt=""><figcaption><p>Click on <strong><code>Setting</code></strong></p></figcaption></figure>

<figure><img src="https://content.gitbook.com/content/5bkfk6Ou7rJFYDoM6vJH/blobs/c0hiAAcJRfA6VKXGYIX9/Group%203.png" alt=""><figcaption><p>Select the <strong><code>Network</code></strong> section</p></figcaption></figure>

Now, You can find a list of the testnet RPC. Once is updated, it should load properly.\
By following these steps, you will be able to change the RPC endpoint for Base Goerli. This should resolve any issues you were experiencing with the previous endpoint. If you encounter any further issues, please reach out to our support team for assistance on [**Discord**](https://discord.gg/polynomial).

It is possible to create private endpoints but it could requires a payment, for more info you can check here: <https://www.alchemy.com/overviews/private-rpc-endpoint>.

## Funds to Base Goerli

To trade you will need ETH for gas fees and the stablecoin sUSD as a collateral. For a more detailed process check the page "[Trading Guide](https://docs.trade.polynomial.fi/perp-v3-beta/trade-v2/trading-guide)".

{% content-ref url="../trade-v2/trading-guide" %}
[trading-guide](https://docs.trade.polynomial.fi/perp-v3-beta/trade-v2/trading-guide)
{% endcontent-ref %}


---

# 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://docs.trade.polynomial.fi/perp-v3-beta/perp-v3/setup-rpc.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.
