diff --git a/content/concepts/networks.md b/content/concepts/networks.md index bebf7cf0..18bfa77a 100644 --- a/content/concepts/networks.md +++ b/content/concepts/networks.md @@ -16,24 +16,24 @@ MetaMask and other ERC20 wallets default to Ethereum mainnet, therefore your wal **Get Tokens** - ETH: [Exchanges to purchase](https://www.coingecko.com/en/coins/ethereum#markets) -- OCEAN: [Official exchanges to purchase](https://oceanprotocol.com/token#get). - - Token address: `0x967da4048cD07aB37855c090aAF366e4ce1b9F48` +- OCEAN: [Exchanges to purchase](https://oceanprotocol.com/token#get) + - OCEAN address on Ethereum mainnet: [0x967da4048cD07aB37855c090aAF366e4ce1b9F48](https://etherscan.io/token/0x967da4048cD07aB37855c090aAF366e4ce1b9F48) **Additional Components** | What | URL | | ------------ | -------------------------------------------- | -| Explorer | `https://etherscan.io` | -| Ocean Market | `https://market.oceanprotocol.com` | +| Explorer | https://etherscan.io | +| Ocean Market | https://market.oceanprotocol.com | | Provider | `https://provider.mainnet.oceanprotocol.com` | | Aquarius | `https://aquarius.mainnet.oceanprotocol.com` | | Subgraph | `https://subgraph.mainnet.oceanprotocol.com` | ## Polygon Mainnet -The Polygon Mainnet is another of the Ocean's production networks. +Ocean is [deployed](https://blog.oceanprotocol.com/ocean-on-polygon-network-8abad19cbf47) to the [Polygon](https://polygon.technology/) production network. Polygon's native token is MATIC. -Polygon is an external network that you might not find as a predefined one inside your wallet. Thus you'll need to connect to it manually using the information below: +If you don't find Polygon as a predefined network in your wallet, you can connect to it manually via [this guide]((/tutorials/metamask-setup/#set-up-custom-network) and the parameters below. | What | Value | |--------------------|------------------------------------------| @@ -42,28 +42,60 @@ Polygon is an external network that you might not find as a predefined one insid | Chain Id | `137` | | Currency Symbol | `MATIC` | | Block Explorer URL | `https://explorer.matic.network/` | - -Follow our guide to learn how to use those values to [set up a custom network in MetaMask](/tutorials/metamask-setup/#set-up-custom-network). **Get Tokens** -- Polygon (MATIC): [Exchanges to purchase](https://www.coingecko.com/en/coins/polygon#markets) -- OCEAN: - - Token address: `0x282d8efCe846A88B159800bd4130ad77443Fa1A1` +- MATIC: [Exchanges to purchase](https://www.coingecko.com/en/coins/polygon#markets) +- OCEAN: [Exchanges to purchase](https://oceanprotocol.com/token#get) + - OCEAN address on Polygon: [0x282d8efCe846A88B159800bd4130ad77443Fa1A1](https://polygonscan.com/token/0x282d8efCe846A88B159800bd4130ad77443Fa1A1) + +**Additional Components** + +| What | URL | +| ------------ | -------------------------------------------- | +| Explorer | https://polygonscan.com/ | +| Ocean Market | Point wallet to Polygon network, at https://market.oceanprotocol.com | +| Provider | `https://provider.polygon.oceanprotocol.com` | +| Aquarius | `https://aquarius.polygon.oceanprotocol.com` | +| Subgraph | `https://subgraph.polygon.oceanprotocol.com` | + +**Bridge** + +Check our [Polygon Bridge guide](/tutorials/polygon-bridge/) to learn how you can deposit, withdraw and send tokens. + +## Binance Smart Chain + +Ocean is deployed to [Binance Smart Chain (BSC)](https://academy.binance.com/en/articles/how-to-get-started-with-binance-smart-chain-bsc), another production network. BSC's native token is BNB - the Binance token. + +If you don't find BSC as a predefined network in your wallet, you can connect to it manually via [Binance's guide](https://academy.binance.com/en/articles/connecting-metamask-to-binance-smart-chain) or [Ocean's guide](/tutorials/metamask-setup/#set-up-custom-network) and the parameters below. + +| What | Value | +|--------------------|------------------------------------------| +| Network Name | `Smart Chain` | +| RPC | `https://bsc-dataseed.binance.org/` | +| Chain Id | `56` | +| Currency Symbol | `BNB` | +| Block Explorer URL | `https://bscscan.com` | + +**Get Tokens** + +- BNB: Exchanges to purchase: typically [binance.com](https://www.binance.com) +- OCEAN: [Exchanges to purchase](https://oceanprotocol.com/token#get) + - OCEAN address on BSC: [0xdce07662ca8ebc241316a15b611c89711414dd1a](https://bscscan.com/token/0xdce07662ca8ebc241316a15b611c89711414dd1a) **Additional Components** | What | URL | |--------------|-----------------------------------------------------------------------| -| Explorer | `https://explorer-mainnet.maticvigil.com` | -| Ocean Market | Point wallet to Polygon network, at `https://market.oceanprotocol.com`| -| Provider | `https://provider.polygon.oceanprotocol.com` | -| Aquarius | `https://aquarius.polygon.oceanprotocol.com` | -| Subgraph | `https://subgraph.polygon.oceanprotocol.com` | +| Explorer | https://bscscan.com/ | +| Ocean Market | Point wallet to BSC network, at https://market.oceanprotocol.com | +| Provider | `https://provider.bsc.oceanprotocol.com` | +| Aquarius | `https://aquarius.bsc.oceanprotocol.com` | +| Subgraph | `https://subgraph.bsc.oceanprotocol.com` | **Bridge** -Check our [Polygon Bridge guide](/tutorials/polygon-bridge/) to learn how you can deposit, withdraw and send tokens. +Check our [BSC Bridge guide](/tutorials/bsc-bridge/) to learn how you can deposit, withdraw and send tokens. ## Ropsten @@ -75,14 +107,14 @@ In MetaMask and other ERC20 wallets, click on the network name dropdown, then se - ETH: [Faucet for Ropsten](https://faucet.dimensions.network/). You may find others by [searching](https://www.google.com/search?q=ropsten+ether+faucet&oq=ropsten+ether+faucet). - OCEAN: [Faucet for Ropsten](https://faucet.ropsten.oceanprotocol.com/) - - Token address: `0x5e8DCB2AfA23844bcc311B00Ad1A0C30025aADE9` + - OCEAN address on Ropsten: [0x5e8DCB2AfA23844bcc311B00Ad1A0C30025aADE9](https://ropsten.etherscan.io/token/0x5e8DCB2AfA23844bcc311B00Ad1A0C30025aADE9) **Additional Components** | What | URL | | ------------ | ---------------------------------------------------------------------- | -| Explorer | `https://ropsten.etherscan.io` | -| Ocean Market | Point wallet to Ropsten network, at `https://market.oceanprotocol.com` | +| Explorer | https://ropsten.etherscan.io | +| Ocean Market | Point wallet to Ropsten network, at https://market.oceanprotocol.com | | Provider | `https://provider.ropsten.oceanprotocol.com` | | Aquarius | `https://aquarius.ropsten.oceanprotocol.com` | | Subgraph | `https://subgraph.ropsten.oceanprotocol.com` | @@ -97,14 +129,14 @@ In MetaMask and other ERC20 wallets, click on the network name dropdown, then se - ETH: [Faucet for Rinkeby](https://faucet.rinkeby.io/). You may find others by [searching](https://www.google.com/search?q=rinkeby+ether+faucet&oq=rinkeby+ether+faucet). - OCEAN: [Faucet for Rinkeby](https://faucet.rinkeby.oceanprotocol.com/) - - Token address: `0x8967BCF84170c91B0d24D4302C2376283b0B3a07` + - OCEAN address on Rinkeby: [0x8967BCF84170c91B0d24D4302C2376283b0B3a07](https://rinkeby.etherscan.io/token/0x8967BCF84170c91B0d24D4302C2376283b0B3a07) **Additional Components** | What | URL | | ------------ | ---------------------------------------------------------------------- | -| Explorer | `https://rinkeby.etherscan.io` | -| Ocean Market | Point wallet to Rinkeby network, at `https://market.oceanprotocol.com` | +| Explorer | https://rinkeby.etherscan.io | +| Ocean Market | Point wallet to Rinkeby network, at https://market.oceanprotocol.com | | Provider | `https://provider.rinkeby.oceanprotocol.com` | | Aquarius | `https://aquarius.rinkeby.oceanprotocol.com` | | Subgraph | `https://subgraph.rinkeby.oceanprotocol.com` | diff --git a/content/tutorials/bsc-bridge.md b/content/tutorials/bsc-bridge.md new file mode 100644 index 00000000..e989de8f --- /dev/null +++ b/content/tutorials/bsc-bridge.md @@ -0,0 +1,59 @@ +--- +title: Polygon (ex Matic) +description: +--- + + +## Links + +- [Matic Wallet](https://wallet.matic.network) +- [Matic Bridge](https://wallet.matic.network/bridge) +- [How to set up a custom network in MetaMask](/tutorials/metamask-setup/#set-up-custom-network) + +## Intro to Polygon's Bridge + +The Polygon Network (ex Matic) provide us with a bridge (connecting Ethereum & Polygon blockchains), and a dedicated [wallet](https://wallet.matic.network) that simplify the steps of transferring digital assets between the two networks. The wallet connects to your account via Metamask (or any of the other supported wallets). + +When you open the wallet link, the wallet will ask to log in. Select your preferred way of connecting and confirm the action. In our guide we'll use Metamask. + +![Login options](images/login-options.png) + +In some places, the Polygon Network is still using its old brand Matic. Either you run into Matic or Polygon - it's the exact same thing. For the purpose of this guide, we'll use Matic in the next few paragraphs since the interfaces you're going to use still use the old brand. + +For details check the [blog post](https://blog.oceanprotocol.com/ocean-on-polygon-network-8abad19cbf47). + +## Deposit Tokens + +On the main page of the wallet, you can see all tokens you own on the Matic Mainnet. To deposit tokens (transfer them from the Ethereum Mainnet) you can either use the “deposit” button for a selected token or use “Move funds to Matic Mainnet”. + +![Main wallet page](images/main-wallet-page.png) + +Both options will redirect you to the bridge interface. In case you chose the second one, use the dropdown and select the token you want to transfer from the Ethereum Mainnet. + +![Bridge interface](images/matic-bridge.png) + +Choose the amount to transfer and click the “Transfer” button. Matic’s bridge interface will guide you through the whole process and the different steps that will occur. You’ll need to sign two transactions on the Ethereum Mainnet. The first being the approval for your token to be traded on the Matic’s bridge and the second one being the deposit. + +![Transferring process](images/transferring-process.png) + +## Withdraw Tokens + +The withdrawing tokens process uses the same bridge interface. The only difference being that the withdraw happens from the Matic to the Ethereum Mainnet. + +Again the bridge interface will guide you through the different steps. + +For more in dept explanation of the deposit and withdraw actions check [the official Polygon (ex Matic) docs](https://docs.matic.network/docs/develop/ethereum-matic/pos/getting-started). + +## Sending Tokens + +While in the first two cases, the transactions are signed on the Ethereum Mainnet, transferring tokens between two Matic addresses happens on the Matic Mainnet. Thus it’s required for you to connect to the Matic network to sign the transactions. You can use the following parameters to set the network in Metamask: + +| What | Value | +|--------------------|------------------------------------------| +| Network Name | `Matic Mainnet` | +| RPC | `https://rpc.polygon.oceanprotocol.com/` | +| Chain Id | `137` | +| Currency Symbol | `MATIC` | +| Block Explorer URL | `https://explorer.matic.network/` | + +Follow our guide to learn how to use those values to [set up a custom network in MetaMask](/tutorials/metamask-setup/#set-up-custom-network). diff --git a/content/tutorials/wallets-and-ocean-tokens.md b/content/tutorials/wallets-and-ocean-tokens.md index 0d90d5f0..f291bfa9 100644 --- a/content/tutorials/wallets-and-ocean-tokens.md +++ b/content/tutorials/wallets-and-ocean-tokens.md @@ -15,6 +15,18 @@ Almost all ERC-20 wallets require these values for adding a custom token: - Symbol: `OCEAN` - Decimals: `18` +**Polygon Mainnet (previously Matic)** + +- Contract Address: `0x282d8efCe846A88B159800bd4130ad77443Fa1A1` +- Symbol: `mOCEAN` +- Decimals: `18` + +**Binance Smart Chain (BSC)** + +- Contract Address: `0xdce07662ca8ebc241316a15b611c89711414dd1a` +- Symbol: `OCEAN` +- Decimals: `18` + **Rinkeby** - Contract Address: `0x8967BCF84170c91B0d24D4302C2376283b0B3a07` @@ -27,12 +39,6 @@ Almost all ERC-20 wallets require these values for adding a custom token: - Symbol: `OCEAN` - Decimals: `18` -**Polygon Mainnet (previously Matic)** - -- Contract Address: `0x282d8efCe846A88B159800bd4130ad77443Fa1A1` -- Symbol: `mOCEAN` -- Decimals: `18` - The [OCEAN Token page](https://oceanprotocol.com/token) at oceanprotocol.com has further details. ## MetaMask diff --git a/data/sidebars/tutorials.yml b/data/sidebars/tutorials.yml index c1ae57cd..080ad424 100644 --- a/data/sidebars/tutorials.yml +++ b/data/sidebars/tutorials.yml @@ -16,6 +16,8 @@ items: - title: Polygon (ex Matic) link: /tutorials/polygon-bridge/ + - title: Binance Smart Chain (BSC) + link: /tutorials/bsc-bridge/ - group: Marketplaces items: