Counterparty 1 - The Initiator (Maker)
- Sign in to your Qredo Personal or Organization Account.
- From the left-hand menu, select the + (New TX) button.
- Select Transfer and click Continue.
- Read the Atomic Swap intro and select Continue.
- Under Sell, select the Source Wallet (the one you wish to send assets from), and under Buy, select the Destination Wallet (the one you wish to receive the swapped crypto assets). Bear in mind that, as of now, the Atomic Swaps can only be created with wallets which are in the same fund.
- Set the Sell and Buy amounts according to your preference or pre-agreed-upon rates (Quote).
- Enter the Atomic Swap Quote Reference and set the Expiry* time.
- Select Review Atomic Swap Quote. Review it properly. Once you’re done, click Initiate Atomic Swap Quote.
- If you’ve enabled the notifications in your mobile/tablet Qredo app, you should receive an approval notification. If not, go to Approvals and select Transactions.
- Now, confirm the quote initiation using your device’s biometrics and your Qredo Signing App profile PIN.
- While you wait for your Approver(s) to approve the quote initiation, you can copy the URL under Send in your Atomic Swap screen and share it with a counterparty you want to engage in the swap with. Alternatively, you can select Share to Liquidity Hub, which will put your Atomic Swap Quote onto the Liquidity Hub bulletin board accessible by anyone on the Qredo Network. Either way, no counterparty will be able to see your quote until your Approvers have approved it.
- Once your approval policy threshold is met, it’s up to the other counterparty and their Approvers to confirm the swap.
*Your set expiry time starts counting down once the quote has been authorized through your mobile Signing App. Note that the quote needs to meet the specific Fund's transaction policy and be taken by a counterparty before expiring. Otherwise, the Atomic Swap will fail.
Counterparty 2 - The Taker
- If you’ve found the Atomic Swap Quote that you’re interested in on the Liquidity Hub, press the three-dot icon and select View Details.
- Review the Atomic Swap Quote details and select Take Atomic Swap.
- Under Selling, select a wallet that has enough of the relevant asset to meet the amount that the quote is asking for.
- Under Buying, select the wallet where the counterparty’s assets are going to land.
- Add a Reference into the appropriate box.
- Select Review Atomic Swap. Review it properly. Once you’re done, click Take Atomic Swap.
- If you’ve enabled the notifications in your mobile/tablet Qredo app, you should receive an approval notification. If not, go to Approvals and select Transactions in your Qredo Signing App.
- Now, confirm the quote taking attempt using your device’s biometrics and your Qredo Signing App profile PIN.
- Once your approval policy threshold is met, the Atomic Swap is completed almost immediately.
Each counterparty can see and confirm that the transactions occurred using the Ledger view, available from the left-hand side of the user’s Qredo Network profile.
Who Gets the Quote?
Seeing as how the Atomic Swap is completed only when the appropriate threshold level of Approvers has approved the transaction, until that happens, the quote remains live.
This means that, if the taker's Approvers aren't fast enough to confirm the taking of the Atomic Swap, another counterparty can swoop in and take the swap. Similarly, the taker can choose to take the Atomic Swap quote in question using another Fund on their account. Essentially, the first Fund to reach the the appropriate set Approver threshold gets the quote.