1
0
mirror of https://github.com/oceanprotocol/docs.git synced 2024-11-01 15:55:34 +01:00
docs/discover/networks/README.md

237 lines
12 KiB
Markdown
Raw Normal View History

2021-01-15 14:50:23 +01:00
---
2023-12-21 14:54:32 +01:00
title:
2023-04-13 13:20:18 +02:00
description: All the public networks the Ocean Protocol contracts are deployed to.
2021-01-15 14:50:23 +01:00
---
# Networks
2023-12-22 13:10:40 +01:00
Ocean Protocol's smart contracts and [OCEAN](../ocean-token.md) are deployed on multiple public networks: several production chains, and several testnets too.
2021-01-15 14:50:23 +01:00
2023-12-22 13:10:40 +01:00
The file [`address.json`](https://github.com/oceanprotocol/contracts/blob/v4main/addresses/address.json) holds up-to-date deployment addresses for all Ocean contracts.
2023-12-21 14:54:32 +01:00
2023-12-22 13:10:40 +01:00
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.
2023-12-21 14:54:32 +01:00
## Networks Summary
Here are the networks that Ocean is deployed to.
**Production Networks:**
2023-12-21 15:48:46 +01:00
- Ethereum mainnet
- Polygon mainnet
- Oasis Sapphire mainnet
- BNB Smart Chain
- Energy Web Chain
2023-12-22 13:10:40 +01:00
- Optimism (OP) Mainnet
2023-12-21 15:48:46 +01:00
- Moonriver
2023-12-21 14:54:32 +01:00
**Test Networks:**
2023-12-21 15:48:46 +01:00
- Görli
- Sepolia
- Mumbai
- Oasis Sapphire testnet
2023-12-22 13:10:40 +01:00
- Optimism (OP) Sepolia
2023-12-21 14:54:32 +01:00
The rest of this doc gives details for each network. You can skip it until you need the reference information.
## Production Networks
2023-12-22 13:10:40 +01:00
### Production: Ethereum Mainnet
2021-01-15 14:50:23 +01:00
2023-12-22 10:41:03 +01:00
<table data-header-hidden>
<tbody>
<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>
</tbody>
</table>
2023-12-22 13:10:40 +01:00
**Wallet.** To connect to Ethereum mainnet with e.g. MetaMask, click on the network name dropdown and select "Ethereum mainnet" from the list.
2023-12-22 13:10:40 +01:00
### Production: Polygon Mainnet
2023-12-22 10:41:03 +01:00
<table data-header-hidden>
<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>
2023-12-22 10:41:03 +01:00
</table>
2023-12-22 10:41:03 +01:00
**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).
2023-12-22 10:41:03 +01:00
**Bridge.** Check out the Polygon Bridge [guide](bridges.md) to learn how you can deposit, withdraw and send tokens.
2023-12-22 13:10:40 +01:00
### Production: Oasis Sapphire Mainnet
2023-10-25 15:38:54 +02:00
2023-12-22 10:46:18 +01:00
[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.
2023-10-25 15:38:54 +02:00
2023-12-22 10:41:03 +01:00
<table data-header-hidden>
<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>
2023-12-22 13:12:04 +01:00
<tr><td>Explorer</td><td><a href="https://explorer.oasis.io/mainnet/sapphire/">https://explorer.oasis.io/mainnet/sapphire</a></td></tr>
2023-12-22 10:41:03 +01:00
</tbody>
</table>
2023-10-25 15:38:54 +02:00
2023-12-22 10:41:03 +01:00
**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/).
2023-10-25 15:38:54 +02:00
2023-12-22 13:27:49 +01:00
**Bridge.** Use [Celer](https://cbridge.celer.network/1/23294/OCEAN) to bridge OCEAN from Ethereum mainnet to Oasis Sapphire mainnet.
2023-10-25 15:38:54 +02:00
2023-12-22 13:10:40 +01:00
### Production: BNB Smart Chain
2023-12-22 10:41:03 +01:00
<table data-header-hidden>
<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>
2023-12-22 10:41:03 +01:00
This is one of the [Binance](https://binance.com)-spawned chains. BNB is the token of Binance.
2022-06-07 15:49:08 +02:00
2023-12-22 13:10:40 +01:00
**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.
2022-06-07 15:49:08 +02:00
2023-12-22 10:41:03 +01:00
**Bridge.** Our [BNB Smart Chain Bridge Guide](bridges.md#bnb-smart-chain-bridge) describes how to get OCEAN to BNB Smart Chain.
2023-12-22 13:10:40 +01:00
### Production: Energy Web Chain (EWC)
2023-12-22 10:41:03 +01:00
<table data-header-hidden>
<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>
2021-02-23 11:40:42 +01:00
2023-12-22 10:41:03 +01:00
This is the chain for [Energy Web Foundation](https://www.energyweb.org/).
2023-12-22 10:41:03 +01:00
**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).
2023-12-22 10:41:03 +01:00
**Bridge.** To bridge assets between Ethereum Mainnet and Energy Web Chain and Ethereum mainnet, you can use [Carbonswap bridge](https://bridge.carbonswap.exchange/).
2023-11-28 16:48:16 +01:00
2023-12-22 13:10:40 +01:00
### Production: Optimism (OP) Mainnet
2023-11-28 16:48:16 +01:00
2023-12-22 10:41:03 +01:00
<table data-header-hidden>
<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>
2023-11-28 16:48:16 +01:00
2023-12-22 10:41:03 +01:00
**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).
2023-11-28 16:48:16 +01:00
2023-12-22 10:41:03 +01:00
**Bridge.** Follow the [OP Bridge guide](https://https://app.optimism.io/bridge/deposit) to deposit, withdraw and send tokens.
2023-11-28 16:48:16 +01:00
2023-12-22 13:10:40 +01:00
### Production: Moonriver
2023-12-22 10:41:03 +01:00
<table data-header-hidden>
<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>
2023-12-22 10:41:03 +01:00
[Moonriver](https://moonbeam.network/networks/moonriver/) is an EVM-based parachain of Kusama.
2023-12-22 10:41:03 +01:00
**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 Anyswap Bridge](https://anyswap.exchange/#/bridge).
2023-12-21 14:54:32 +01:00
## Test Networks
2023-12-22 10:41:03 +01:00
Unlike production networks, tokens on test networks do not hold real economic value.
2023-12-21 14:54:32 +01:00
2023-12-22 13:10:40 +01:00
### Testnet: Görli
2022-09-28 08:45:54 +02:00
2023-12-22 10:41:03 +01:00
<table data-header-hidden>
<tbody>
<tr><td>Native token</td></td><td>Görli (fake) ETH</td></tr>
2023-12-22 13:10:40 +01:00
<tr><td>Native token faucet</td><td><a href="https://goerlifaucet.com/">Here</a></td></tr>
2023-12-22 10:41:03 +01:00
<tr><td>OCEAN address</td><td><a href="https://goerli.etherscan.io/address/0xcfdda22c9837ae76e0faa845354f33c62e03653a">0xCfDdA22C9837aE76E0faA845354f33C62E03653a</a></td></tr>
2023-12-22 13:10:40 +01:00
<tr><td>OCEAN faucet</td><td><a href="https://faucet.goerli.oceanprotocol.com">Here</a></td></tr>
<tr><td>Explorer</td><td>https://goerli.etherscan.io</a></td></tr>
2023-12-22 10:41:03 +01:00
</tbody>
</table>
2022-09-28 08:45:54 +02:00
2023-12-22 13:10:40 +01:00
**Wallet.** To connect with e.g. MetaMask, click on the network name dropdown and select _Goerli_ from the list of available networks.
2022-09-28 08:45:54 +02:00
2023-12-22 13:10:40 +01:00
### Testnet: Sepolia
2023-12-21 14:54:32 +01:00
2023-12-22 10:41:03 +01:00
<table data-header-hidden>
<tbody>
<tr><td>Native token</td></td><td>Sepolia (fake) ETH </td></tr>
2023-12-22 13:10:40 +01:00
<tr><td>Native token faucet</td><td><a href="https://sepoliafaucet.com/">Here</a></td></tr>
2023-12-22 10:41:03 +01:00
<tr><td>OCEAN address</td><td><a href="https://sepolia.etherscan.io/address/0x1B083D8584dd3e6Ff37d04a6e7e82b5F622f3985">0x1B083D8584dd3e6Ff37d04a6e7e82b5F622f3985</a></td></tr>
2023-12-22 13:10:40 +01:00
<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>
2023-12-22 10:41:03 +01:00
</tbody>
</table>
2023-12-22 13:10:40 +01:00
**Wallet.** To connect with e.g. MetaMask, select "Sepolia" from the network dropdown list(enable "Show test networks").
2023-12-21 14:54:32 +01:00
2023-12-22 13:10:40 +01:00
### Testnet: Mumbai
2021-08-06 13:30:52 +02:00
2023-12-22 10:41:03 +01:00
<table data-header-hidden>
<tbody>
<tr><td>Native token</td><td>Mumbai (fake) MATIC</td></tr>
2023-12-22 13:10:40 +01:00
<tr><td>Native token faucet</td><td><a href="https://faucet.matic.network/">Here</a></td></tr>
2023-12-22 10:41:03 +01:00
<tr><td>OCEAN address</td><td><a href="https://mumbai.polygonscan.com/token/0xd8992Ed72C445c35Cb4A2be468568Ed1079357c8">0xd8992Ed72C445c35Cb4A2be468568Ed1079357c8</a></td></tr>
2023-12-22 13:10:40 +01:00
<tr><td>OCEAN faucet</td><td><a href="https://faucet.mumbai.oceanprotocol.com/">Here</a></td></tr>
2023-12-22 10:41:03 +01:00
<tr><td>Explorer</td><td><a href="https://mumbai.polygonscan.com">https://mumbai.polygonscan.com</a></td></tr>
</tbody>
</table>
2021-08-06 13:30:52 +02:00
2023-12-22 13:10:40 +01:00
**Wallet.** To connect with e.g. MetaMask, select "Görli" from the network dropdown list. If it's not listed as a predefined network, follow [Polygon's guide](https://wiki.polygon.technology/docs/develop/metamask/config-polygon-on-metamask/).
2021-10-08 16:55:33 +02:00
2023-12-22 10:41:03 +01:00
2023-12-22 13:10:40 +01:00
### Testnet: Oasis Sapphire Testnet
2023-07-14 14:57:43 +02:00
2023-12-22 10:46:18 +01:00
[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.
2023-12-22 10:41:03 +01:00
<table data-header-hidden>
<tbody>
2023-12-22 10:46:18 +01:00
<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>
2023-12-22 13:10:40 +01:00
<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>
2023-12-22 13:12:04 +01:00
<tr><td>Explorer</td><td><a href="https://explorer.oasis.io/testnet/sapphire/">https://explorer.oasis.io/testnet/sapphire</a></td></tr>
2023-12-22 10:41:03 +01:00
</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/).
2023-07-14 14:57:43 +02:00
2023-12-21 14:54:32 +01:00
2023-12-22 13:10:40 +01:00
### Testnet: Optimism (OP) Sepolia
2023-11-14 13:49:38 +01:00
2023-12-22 10:41:03 +01:00
<table data-header-hidden>
<tbody>
<tr><td>Native token</td></td><td>Sepolia (fake) ETH</td></tr>
2023-12-22 13:10:40 +01:00
<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>
2023-12-22 10:41:03 +01:00
<tr><td>Explorer</td><td><a href="https://sepolia-optimism.etherscan.io/">https://sepolia-optimism.etherscan.io</a></td></tr>
</tbody>
</table>
2023-11-14 13:49:38 +01:00
2023-12-22 10:41:03 +01:00
**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).
2023-11-14 13:49:38 +01:00
2023-12-21 14:54:32 +01:00
----
_Next: [Bridges](bridges.md)_
_Back: [OCEAN: the Ocean token](../ocean-token.md)_