SeeSWAP Demo Walkthrough

User Guide (UI)

If you are using Math Wallet for the first time, please refer to the Download & Setup section in our documentation.

  • Note that although HRC20 tokens are supported in the Math Wallet extension, they are not shown on the wallet interface directly. To check your 1SEED & 1LINK balance via CLI, please check our CLI document.

  • Currently, SeeSWAP is only supported by Math Wallet extension, ONE wallet integration is coming soon. Stay tuned!

You can choose to Join Pool, Exit Pool or Swap Tokens. Liquidity overview, commission fee and spot price are also displayed on the UI.

  • spot price/exchange rate is calculated based on the token balance at the time. e.g 1SEED Spot Price = 61,344.57/43,106.45 = 1.42

2.1 SWAP TOKENS

  1. Choose "Swap Tokens" and the token to swap from. Enter the amount of token you wish to swap to and click on the "SWAP" button. (Please make sure you have enough test tokens in your test wallet).

2. Accept the Signature Request in the Math Wallet pop up window to sign the transactions.

Note that you need to sign two transactions, the first one is to approve the contract to take your tokens, the second one is for the actual transaction.

3. You will see a pop up window after the txn is confirmed. That's it, you have complete your first swap txn on SeeSWAP!

4. In this example, 730 1LINK tokens are swapped to1000 1SEED tokens.

2.2 JOIN POOL

1 Choose "Join Pool" and the pool to which you want to provide liquidity. Enter the amount of token you wish to add and click on the "JOIN" button.

2. Accept the Signature Request in the Math Wallet pop up window to sign the transaction.

3. You will see a pop up window after the txn is confirmed. That's it, you have complete your first join-pool txn on SeeSWAP! You will also notice the slippage (change in the Spot Price).

2.3 EXIT POOL

1.Choose "Exit Pool" and the pool from which you want to withdraw liquidity. Enter the amount of token you wish to withdraw and click on the "EXIT" button

2. Accept the Signature Request in the Math Wallet pop up window to sign the transaction.

Note that you need to sign two transactions, the first one is to approve the contract to take your tokens, the second one is for the actual transaction.

3. You will see a pop-up window after the txn is confirmed. That's it, you have complete your first exit-pool txn on SeeSWAP! You will also notice the slippage (change in the Spot Price).

Special declaration

All contracts are sourced from balance.finance with minimum modification.

SeeSWAP is an experimental alpha version of balance.finance on Harmony. Trade at your own risk.

About balance.finance​

Balancer is an asset management platform that acts as an automated portfolio manager, liquidity provider, and price sensor.

A native governance token BAL is used to vote on protocol upgrades including supported collateral, fees, and incentives. BAL can be earned through the Liquidity Mining program which grants users token for providing liquidity to Balancer Pools.

User Guide (CLI)

# docker set-up
​
sudo yum update
sudo yum install docker
#start the docker
sudo service docker start
sudo docker pull harmonyone/seeswap
sudo docker run -it harmonyone/seeswap
​
# run commands as follows:
seeswap <command> <option>
# For example
seeswap checkBalance
# join pool
seeswap joinPool -t 1SEED -n 100
# swap tokens
seeswap swapToken -s 1SEED -r 1LINK -n 100
# To see all commands do:
seeswap help
​

​