1
0
mirror of https://github.com/oceanprotocol/docs.git synced 2024-11-26 19:49:26 +01:00
docs/content/tutorials/marketplace-swap-and-stake.md
2022-04-07 23:53:29 +02:00

2.2 KiB

title description
Swap and/or Stake Tokens

Swap OCEAN Tokens against datatokens

Finding an asset

Search for the desired asset published on the Ocean Marketplace

Step 1: Understanding the risks

swap part-1

Step 2: Select amount of Ocean tokens or Datatokens to trade

Enter the amount of Ocean tokens you want to swap. The expected amount that the account will receive will be shown with the swap fees information. You can also swap datatokens to Ocean tokens here.

swap part-2

Step 3: Transaction: Allow pool contract to access your Ocean tokens

swap part-3

Step 4: Click swap button

swap part-4

Step 5: Transaction: Swap tokens

swap part-5

Viewing transaction

swap part-6

Click here to view a sample transaction on Rinkeby testnet.

Staking (Adding Liquidity)

  1. Search for the desired asset published on the Ocean Marketplace.

  2. Select Pool option and click ADD LIQUIDITY button. staking part-1

  3. Enter the amount of Ocean Tokens you want to stake. staking part-2

  4. Approve the contract transaction. Make sure your account has sufficient ETH balance. staking part-2

  5. Approve the contract transaction. Make sure your account has sufficient ETH balance. staking part-2

  6. After the transactions are completed, the below message will be displayed. staking part-2