NativeSwap
Last updated
Last updated
NativeSwap is the mechanism that allows you to swap OP_20 tokens with tBTC. This process is slightly different from OP_20 <> OP_20 swaps.
Go to the and connect your wallet via the top right button "Connect Wallet".
On the top right of the swap section, you will see a cog icon, which will open the swap settings modal. Here you can select your:
Max slippage
Mining fee rate
Priority fee
The default values should be acceptable for most cases.
After inputting your desired amount, click the swap button.
Select the token you want to buy tBTC with or sell for tBTC.
Once you've selected, you can either enter the amount you wish to sell (on top), or the amount of the token you want to buy (on the bottom).
Once you've clicked the "Swap Tokens" button, you will be directed to the next step, which is reserving your tokens and amounts. You will get a summary of your reservation including the simulated amounts out, as well as the estimated gas fee. To continue, click the "Start Reservation" button and confirm the transaction.
This process can take up to 10 minutes.
You can leave this page and monitor your activity on the "Activity" page, or check the notification bell on the right side of the header.
Once your reservation is ready, you will receive a notification on the bell icon, or your reservation status will show "Completed". To continue, either click "Use reservation" from the notification bell, or "Continue Swap" from the "Reservations" tab in the "Activity" page.
Now you can review your reservation and it's details. Once you've reviewed, you can move forward and click "Swap Tokens".
If your transaction was sent successfully, you will be met with a success modal:
Congratulations! You've swapped.
Select the token you want to swap for tBTC. Below the token selection section you can select your swap priority.
There are 2 types of priority for swapping an OP_20 token to tBTC:
Standard priority - Your swap will be place into the normal priority queue
Bypass queue - Your swap will be placed in front of the normal queue
Fee: 3% of your tokens + 50,000 SATS flat fee
Once you've selected your swap priority, click the "Swap Tokens" button.
You will then be shown a modal with the details of the swap, press the "Confirm" button to continue.
After confirming, you will have successfully sent the transaction!