How to check total pooled amount and add liquidity in Polkaswap

Important: do NOT use hardware wallets with Polkadot.js, they are not supported yet

How to check the total pooled amounts for XYK pool

NOTE: this includes only XYK pool (not TBC pool)

1) Go to SORA polkadot.js

Click on "Developer" and then "Chain State"

Select poolXyk → reserves(AssetId,AssetId):Balance(accountid,assetid) and fill in AssetIDs. Add always XOR as the first asset ID.

PSWAP: 0x0200050000000000000000000000000000000000000000000000000000000000

DAI: 0x0200060000000000000000000000000000000000000000000000000000000000

ETH: 0x0200070000000000000000000000000000000000000000000000000000000000

VAL: 0x0200040000000000000000000000000000000000000000000000000000000000

XOR: 0x0200000000000000000000000000000000000000000000000000000000000000

You can see the complete list of the token addresses here

In the picture above you can see the output for XOR-PSWAP pair.

Unfortunately, Polkadot.js supports only one asset for the network, that's why it shows XOR, but actually, it's asset that you asked - PSWAP, VAL, ETH, or DAI..

Letter before XOR shows the following:

k = x 1000

M = x 1000000

B = x 1000000000

m = / 1000

So the output shows there are 20349.1 XOR and 41312800 PSWAP

Add liquidity on Polkaswap

1) Go to click on "Connect Account".

To add liquidity on Polkaswap, you need an account on Polkadot.js. The first tutorial on this section is about setting up a Polkadot.js account.

2) Click on "Add Liquidity" and select the other token you want to pair with XOR.

Next, select the amounts of XOR and of the other token you want to pair.

If you want to pair XOR with an ERC-20 token, first you need to bridge tokens from Ethereum Network to SORA using HASHI Bridge, there is a specific tutorial for that too

3) Click on "Supply" and confirm using the Polkadot.js extension.

You will be able to see the liquidity provided in the pool section