mirror of
https://github.com/oceanprotocol/docs.git
synced 2024-11-26 19:49:26 +01:00
205 lines
9.8 KiB
Markdown
205 lines
9.8 KiB
Markdown
---
|
|
title:
|
|
description: All the public networks the Ocean Protocol contracts are deployed to.
|
|
---
|
|
|
|
# Networks
|
|
|
|
Ocean Protocol's smart contracts and [OCEAN](../ocean-token.md) are deployed on multiple public networks: several production chains, and several testnets too.
|
|
|
|
The file [`address.json`](https://github.com/oceanprotocol/contracts/blob/v4main/addresses/address.json) holds up-to-date deployment addresses for all Ocean contracts.
|
|
|
|
On tokens:
|
|
- You need the network's native token to pay for gas to make transactions: ETH for Ethereum mainnet, MATIC for Polygon, etc. You typically get these from exchanges.
|
|
- You may get OCEAN from an exchange, and bridge it as needed.
|
|
- For testnets, you'll need "fake" native tokens to pay for gas, and "fake" OCEAN. Typically, you get these from faucets.
|
|
- Below, we give token-related instructions, for each network.
|
|
|
|
## Networks Summary
|
|
|
|
Here are the networks that Ocean is deployed to.
|
|
|
|
**Production Networks:**
|
|
- Ethereum mainnet
|
|
- Polygon mainnet
|
|
- Oasis Sapphire mainnet
|
|
- BNB Smart Chain
|
|
- Energy Web Chain
|
|
- Optimism (OP) Mainnet
|
|
- Moonriver
|
|
|
|
**Test Networks:**
|
|
- Görli
|
|
- Sepolia
|
|
- Oasis Sapphire testnet
|
|
- Optimism (OP) Sepolia
|
|
|
|
The rest of this doc gives details for each network. You can skip it until you need the reference information.
|
|
|
|
## Production Networks
|
|
|
|
### Ethereum Mainnet
|
|
|
|
<table>
|
|
<tr><td>Native token</td><td>ETH</td></tr>
|
|
<tr><td>OCEAN address</td><td><a href="https://etherscan.io/token/0x967da4048cD07aB37855c090aAF366e4ce1b9F48">0x967da4048cD07aB37855c090aAF366e4ce1b9F48</a></td></tr>
|
|
<tr><td>Explorer</td><td><a href="https://etherscan.io">https://etherscan.io</a></td></tr>
|
|
</table>
|
|
|
|
**Wallet.** To connect to Ethereum mainnet with e.g. MetaMask, click on the network name dropdown and select "Ethereum mainnet" from the list.
|
|
|
|
|
|
### Polygon Mainnet
|
|
|
|
<table>
|
|
<tbody>
|
|
<tr><td>Native token</td><td>MATIC</td></tr>
|
|
<tr><td>OCEAN address</td><td><a href="https://polygonscan.com/token/0x282d8efce846a88b159800bd4130ad77443fa1a1">0x282d8efCe846A88B159800bd4130ad77443Fa1A1</a></td></tr>
|
|
<tr><td>Explorer</td><td><a href="https://polygonscan.com">https://polygonscan.com</a></td></tr>
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
**Wallet.** If you can't find Polygon Mainnet as a predefined network, follow [Polygon's guide](https://wiki.polygon.technology/docs/develop/metamask/config-polygon-on-metamask/#add-the-polygon-network-manually).
|
|
|
|
**Bridge.** Follow the [Polygon Bridge guide](bridges.md) in our docs.
|
|
|
|
### Oasis Sapphire Mainnet
|
|
|
|
[Ocean Predictoor](../../predictoor/README.md) is deployed on Oasis Sapphire mainnet for its ability to keep EVM transactions private. This deployment does do not currently support ocean.js, ocean.py, or Ocean Market.
|
|
|
|
<table>
|
|
<tbody>
|
|
<tr><td>Native token</td></td><td>ROSE</td></tr>
|
|
<tr><td>OCEAN address</td><td><a href="https://explorer.oasis.io/mainnet/sapphire/token/0x39d22B78A7651A76Ffbde2aaAB5FD92666Aca520">0x39d22B78A7651A76Ffbde2aaAB5FD92666Aca520</a></td></tr>
|
|
<tr><td>Explorer</td><td><a href="https://explorer.oasis.io/mainnet/sapphire/">https://explorer.oasis.io/mainnet/sapphire</a></td></tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
**Wallet.** If you cannot find Oasis Sapphire Mainnet as a predefined network, fyou can manually connect by entering the following during import: Network Name: `Oasis Sapphire`, RPC URL: `https://sapphire.oasis.io`, Chain ID: `23294`, Token: `ROSE`. For further info, see [Oasis tokens docs](https://docs.oasis.io/general/manage-tokens/).
|
|
|
|
**Bridge.** Use [Celer](https://cbridge.celer.network/1/23294/OCEAN) to bridge OCEAN from Ethereum mainnet to Oasis Sapphire mainnet.
|
|
|
|
### BNB Smart Chain
|
|
|
|
<table>
|
|
<tbody>
|
|
<tr><td>Native token</td></td><td>BSC BNB</td></tr>
|
|
<tr><td>OCEAN address</td><td><a href="https://bscscan.com/token/0xdce07662ca8ebc241316a15b611c89711414dd1a">0xdce07662ca8ebc241316a15b611c89711414dd1a</a></td></tr>
|
|
<tr><td>Explorer</td><td><a href="https://bscscan.com/">https://bscscan.com/</a></td></tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
This is one of the [Binance](https://binance.com)-spawned chains. BNB is the token of Binance.
|
|
|
|
**Wallet.** If BNB Smart Chain is not listed as a predefined network in your wallet, see [Binance's Guide](https://academy.binance.com/en/articles/connecting-metamask-to-binance-smart-chain) to manually connect.
|
|
|
|
**Bridge.** Our [BNB Smart Chain Bridge Guide](bridges.md#bnb-smart-chain-bridge) describes how to get OCEAN to BNB Smart Chain.
|
|
|
|
### Energy Web Chain (EWC)
|
|
|
|
<table>
|
|
<tbody>
|
|
<tr><td>Native token</td></td><td>Energy Web Chain EWT</td></tr>
|
|
<tr><td>OCEAN address</td><td><a href="https://explorer.energyweb.org/token/0x593122aae80a6fc3183b2ac0c4ab3336debee528">0x593122aae80a6fc3183b2ac0c4ab3336debee528</a></td></tr>
|
|
<tr><td>Explorer</td><td><a href="https://explorer.energyweb.org/">https://explorer.energyweb.org/</a></td></tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
This is the chain for [Energy Web Foundation](https://www.energyweb.org/).
|
|
|
|
**Wallet.** If you cannot find Energy Web Chain as a predefined network in your wallet, you can manually connect to it by following this [guide](https://energy-web-foundation.gitbook.io/energy-web/how-tos-and-tutorials/connect-to-energy-web-chain-main-network-with-metamash).
|
|
|
|
**Bridge.** To bridge assets between Ethereum Mainnet and Energy Web Chain and Ethereum mainnet, you can use [Omni bridge by Carbonswap](https://bridge.carbonswap.exchange/).
|
|
|
|
### Optimism (OP) Mainnet
|
|
|
|
<table>
|
|
<tbody>
|
|
<tr><td>Native token</td></td><td>ETH</td></tr>
|
|
<tr><td>OCEAN address</td><td><a href="https://optimistic.etherscan.io/address/0x2561aa2bB1d2Eb6629EDd7b0938d7679B8b49f9E">0x2561aa2bB1d2Eb6629EDd7b0938d7679B8b49f9E</a></td></tr>
|
|
<tr><td>Explorer</td><td><a href="https://optimistic.etherscan.io">https://optimistic.etherscan.io</a></td></tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
**Wallet.** If you cannot find Optimism as a predefined network in your wallet, you can manually connect to with [this OP guide](https://community.optimism.io/docs/useful-tools/networks/#op-mainnet).
|
|
|
|
**Bridge.** Follow the [OP Bridge guide](https://docs.optimism.io/builders/dapp-developers/bridging/standard-bridge).
|
|
|
|
### Moonriver
|
|
|
|
<table>
|
|
<tbody>
|
|
<tr><td>Native token</td></td><td>Moonriver MOVR</td></tr>
|
|
<tr><td>OCEAN address</td><td><a href="https://blockscout.moonriver.moonbeam.network/token/0x99C409E5f62E4bd2AC142f17caFb6810B8F0BAAE/token-transfers">0x99C409E5f62E4bd2AC142f17caFb6810B8F0BAAE</a></td></tr>
|
|
<tr><td>Explorer</td><td><a href="https://blockscout.moonriver.moonbeam.network">https://blockscout.moonriver.moonbeam.network</a></td></tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
|
|
[Moonriver](https://moonbeam.network/networks/moonriver/) is an EVM-based parachain of Kusama.
|
|
|
|
**Wallet.** If Moonriver is not listed as a predefined network in your wallet, you can manually connect to it by following [Moonriver's guide](https://docs.moonbeam.network/builders/get-started/networks/moonriver/#connect-metamask).
|
|
|
|
**Bridge.** To bridge assets between Moonriver and Ethereum mainnet, you can use the [Celer](https://cbridge.celer.network/bridge/moonriver-ethereum/).
|
|
|
|
|
|
## Test Networks
|
|
|
|
Unlike production networks, tokens on test networks do not hold real economic value.
|
|
|
|
|
|
### Sepolia
|
|
|
|
<table>
|
|
<tbody>
|
|
<tr><td>Native token</td></td><td>Sepolia (fake) ETH </td></tr>
|
|
<tr><td>Native token faucet</td><td><a href="https://sepoliafaucet.com/">Here</a></td></tr>
|
|
<tr><td>OCEAN address</td><td><a href="https://sepolia.etherscan.io/address/0x1B083D8584dd3e6Ff37d04a6e7e82b5F622f3985">0x1B083D8584dd3e6Ff37d04a6e7e82b5F622f3985</a></td></tr>
|
|
<tr><td>OCEAN faucet</td><td><a href="https://faucet.sepolia.oceanprotocol.com/">Here</a></td></tr>
|
|
<tr><td>Explorer</td><td><a href="https://sepolia.etherscan.io/">https://sepolia.etherscan.io</a></td></tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
**Wallet.** To connect with e.g. MetaMask, select "Sepolia" from the network dropdown list(enable "Show test networks").
|
|
|
|
|
|
### Oasis Sapphire Testnet
|
|
|
|
[Ocean Predictoor](../../predictoor/README.md) is deployed on Oasis Sapphire testnet. This deployment does do not currently support ocean.js, ocean.py, or Ocean Market.
|
|
|
|
|
|
<table>
|
|
<tbody>
|
|
<tr><td>Native token</td><td>(fake) ROSE</td></tr>
|
|
<tr><td>Native token faucet</td><td><a href="https://github.com/oceanprotocol/pdr-backend/blob/main/READMEs/testnet-faucet.md#get-fake-rose-on-sapphire-testnet">Here</a></td></tr>
|
|
<tr><td>OCEAN address</td><td><a href="https://explorer.oasis.io/testnet/sapphire/address/0x973e69303259B0c2543a38665122b773D28405fB">0x973e69303259B0c2543a38665122b773D28405fB</a></td></tr>
|
|
<tr><td>OCEAN faucet</td><td><a href="https://github.com/oceanprotocol/pdr-backend/blob/main/READMEs/testnet-faucet.md#get-fake-ocean-on-sapphire-testnet">Here</a></td></tr>
|
|
<tr><td>Explorer</td><td><a href="https://explorer.oasis.io/testnet/sapphire/">https://explorer.oasis.io/testnet/sapphire</a></td></tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
**Wallet.** If you cannot find Oasis Sapphire Testnet as a predefined network, you can manually connect to it by entering the following during import: Network Name: `Oasis Sapphire Testnet`, RPC URL: `https://testnet.sapphire.oasis.dev`, Chain ID: `23295`, Token: `ROSE`. For further info, see [Oasis tokens docs](https://docs.oasis.io/general/manage-tokens/).
|
|
|
|
|
|
### Optimism (OP) Sepolia
|
|
|
|
<table>
|
|
<tbody>
|
|
<tr><td>Native token</td></td><td>Sepolia (fake) ETH</td></tr>
|
|
<tr><td>Native token faucet</td><td><a href="https://faucet.quicknode.com/optimism/sepolia">Here</a></td></tr>
|
|
<tr><td>OCEAN address</td><td><a href="https://sepolia-optimism.etherscan.io/address/0xf26c6c93f9f1d725e149d95f8e7b2334a406ad10">0xf26c6C93f9f1d725e149d95f8E7B2334a406aD10</a></td></tr>
|
|
<tr><td>OCEAN faucet</td><td><a href="https://faucet.op-sepolia.oceanprotocol.com/">Here</a></td></tr>
|
|
<tr><td>Explorer</td><td><a href="https://sepolia-optimism.etherscan.io/">https://sepolia-optimism.etherscan.io</a></td></tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
**Wallet.** If OP Sepolia is not listed as a predefined network, follow [OP's Guide](https://community.optimism.io/docs/useful-tools/networks/#op-sepolia).
|
|
|
|
----
|
|
|
|
_Next: [Bridges](bridges.md)_
|
|
|
|
_Back: [OCEAN: the Ocean token](../ocean-token.md)_
|
|
|