> For the complete documentation index, see [llms.txt](https://docs.trade.polynomial.fi/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.trade.polynomial.fi/optimism-settings/setup-rpc.md).

# Setup RPC

### Set up Optimism on MetaMask Wallet

Polynomial is live on Optimism, a layer 2 on Ethereum. To interact and trade on Polynomial, you will need to setup your wallet and connect it to Optimism.

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

### Automatic Setup

1. Go to <https://optimistic.etherscan.io/>
2. Scroll to the bottom and click on right "Add OP Network".

<figure><img src="/files/2TA7YuOwYLhvUBXfUkVd" alt=""><figcaption></figcaption></figure>

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

<figure><img src="/files/oE5jk08yr9P8pSrFmOgA" alt="" width="345"><figcaption></figcaption></figure>

4. Click on "Switch network" to start using Optimism Chain.

<figure><img src="/files/lvx4cLSPcCyE9Ammq0Ob" alt="" width="340"><figcaption></figcaption></figure>

### Manual Setup

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

* Network Name: **Optimism**
* RPC URL: **<https://mainnet.optimism.io/>**
* Chain ID: **10**
* Currency Symbol: **ETH**
* Block Explorer URL: **<https://optimistic.etherscan.io/>**

### Update RPCs

Sometimes, the RPC endpoint for Optimism 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 "Optimistic Ethereum";
4. In the "New RPC URL" field enter the new endpoint URL and **`Save`** the changes .

<figure><img src="/files/oDQKsbBpL9e2flQSoqhq" alt=""><figcaption><p>Click on <strong><code>Setting</code></strong></p></figcaption></figure>

<figure><img src="/files/HT5oyAaVdUn7J9p47yHs" alt=""><figcaption><p>Select the <strong><code>Network</code></strong> section</p></figcaption></figure>

<figure><img src="/files/sea4ilyXq1ApWJcKUcba" alt=""><figcaption><p>Select "Optimistic Ethereum", insert the "New RPC URL" and <strong><code>Save</code></strong></p></figcaption></figure>

Now the RPC is updated and should load properly. By following these steps, you will be able to change the RPC endpoint for Optimism. 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 Optimism

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](/trading-guide.md)".

{% content-ref url="/pages/PpjFNX8TV0mH2JlaeC4J" %}
[Trading Guide](/trading-guide.md)
{% endcontent-ref %}
