How to swap tokens
To swap your tokens at the best rate - need to follow next steps:
Before the swap action - make sure tokens you selected - is associated to your account. In case at least one of the tokens is not associated to account - the transaction will fail. Quick note: you don't need to associate WHBAR to your account in order to swap HBAR to another token (only associate it if you want to swap exactly WHBAR). All operations with wrapping/unwrapping already implemented in Adapter smart contract.
After click "Swap" - your wallet will ask you to sign two operations one by one:
Approve allowance (will be ommited in case you are selling HBAR)
Swap
Last updated