1
0
mirror of https://github.com/oceanprotocol/docs.git synced 2024-11-26 19:49:26 +01:00
docs/discover/networks/README.md
2024-06-03 13:41:12 +02:00

9.8 KiB

title description
All the public networks the Ocean Protocol contracts are deployed to.

Networks

Ocean Protocol's smart contracts and OCEAN are deployed on multiple public networks: several production chains, and several testnets too.

The file 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

Native tokenETH
OCEAN address0x967da4048cD07aB37855c090aAF366e4ce1b9F48
Explorerhttps://etherscan.io

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

Native tokenMATIC
OCEAN address0x282d8efCe846A88B159800bd4130ad77443Fa1A1
Explorerhttps://polygonscan.com

Wallet. If you can't find Polygon Mainnet as a predefined network, follow Polygon's guide.

Bridge. Follow the Polygon Bridge guide in our docs.

Oasis Sapphire Mainnet

Ocean Predictoor 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.

Native tokenROSE
OCEAN address0x39d22B78A7651A76Ffbde2aaAB5FD92666Aca520
Explorerhttps://explorer.oasis.io/mainnet/sapphire

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.

Bridge. Use Celer to bridge OCEAN from Ethereum mainnet to Oasis Sapphire mainnet.

BNB Smart Chain

Native tokenBSC BNB
OCEAN address0xdce07662ca8ebc241316a15b611c89711414dd1a
Explorerhttps://bscscan.com/

This is one of the Binance-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 to manually connect.

Bridge. Our BNB Smart Chain Bridge Guide describes how to get OCEAN to BNB Smart Chain.

Energy Web Chain (EWC)

Native tokenEnergy Web Chain EWT
OCEAN address0x593122aae80a6fc3183b2ac0c4ab3336debee528
Explorerhttps://explorer.energyweb.org/

This is the chain for Energy Web Foundation.

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.

Bridge. To bridge assets between Ethereum Mainnet and Energy Web Chain and Ethereum mainnet, you can use Omni bridge by Carbonswap.

Optimism (OP) Mainnet

Native tokenETH
OCEAN address0x2561aa2bB1d2Eb6629EDd7b0938d7679B8b49f9E
Explorerhttps://optimistic.etherscan.io

Wallet. If you cannot find Optimism as a predefined network in your wallet, you can manually connect to with this OP guide.

Bridge. Follow the OP Bridge guide.

Moonriver

Native tokenMoonriver MOVR
OCEAN address0x99C409E5f62E4bd2AC142f17caFb6810B8F0BAAE
Explorerhttps://blockscout.moonriver.moonbeam.network

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.

Bridge. To bridge assets between Moonriver and Ethereum mainnet, you can use the Celer.

Test Networks

Unlike production networks, tokens on test networks do not hold real economic value.

Sepolia

Native tokenSepolia (fake) ETH
Native token faucetHere
OCEAN address0x1B083D8584dd3e6Ff37d04a6e7e82b5F622f3985
OCEAN faucetHere
Explorerhttps://sepolia.etherscan.io

Wallet. To connect with e.g. MetaMask, select "Sepolia" from the network dropdown list(enable "Show test networks").

Oasis Sapphire Testnet

Ocean Predictoor is deployed on Oasis Sapphire testnet. This deployment does do not currently support ocean.js, ocean.py, or Ocean Market.

Native token(fake) ROSE
Native token faucetHere
OCEAN address0x973e69303259B0c2543a38665122b773D28405fB
OCEAN faucetHere
Explorerhttps://explorer.oasis.io/testnet/sapphire

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.

Optimism (OP) Sepolia

Native tokenSepolia (fake) ETH
Native token faucetHere
OCEAN address0xf26c6C93f9f1d725e149d95f8E7B2334a406aD10
OCEAN faucetHere
Explorerhttps://sepolia-optimism.etherscan.io

Wallet. If OP Sepolia is not listed as a predefined network, follow OP's Guide.


Next: Bridges

Back: OCEAN: the Ocean token