How to interact with PizzaSwap?
Last updated
Last updated
Welcome to PizzaSwap, a module that allows users to swap, provide liquidity, and earn brc-20 assets directly—no intermediaries needed. Transactions are aggregated and batched using a novel sequencer, resulting in lower costs and higher throughput. This guide will focus on PizzaSwap’s interface and how to use it.
Try it here: https://fractal.unisat.io/swap
Before you begin, please make sure you are familiar with the following information:
Supported Addresses: PizzaSwap supports Native Segwit (P2WPKH) and Taproot (P2TR) addresses. Ensure your wallet is using one of these address types.
PizzaSwap Fees:
Swap Fee: A 0.3% fee is applied to each swap - 1/6 of the fee supports the platform, while the rest is distributed to liquidity providers (LPs). Fees are collected in bSats/sSats and bFB/sFB.
Rollup Fee: To reduce transaction costs, PizzaSwap implements a rollup mechanism, bundling transactions into a single submission to the Bitcoin or Fractal network, ensuring lower fees for users.
Left Panel (Green Box 1) - Key Sections
Swap – The trading interface where users execute swaps.
Trading Pairs – The liquidity provider (LP) interface, where LPs can add/remove liquidity and check their liquidity positions.
LP Rewards – Special event page for rewards programs (e.g., LPfest Epoch 2 in 2024). Follow @UniSatWallet on X for event updates!
Overview – Displays past interactions and an overview of PizzaSwap activity.
Right Panel (Green Box 2-3) - Key Sections
Swap – The main trading page where users swap tickers.
Deposit – The deposit page, where users deposit assets from Bitcoin or Fractal mainnet into PizzaSwap before swapping.
Withdraw – The withdrawal page, where users move assets from PizzaSwap back to Fractal or Bitcoin mainnet.
My module assets - Your assets, liquidity, and transaction history in PizzaSwap are displayed in this section. Here, you can click "Send" on a specific asset to transfer it to another PizzaSwap address.
Now you're all set to explore PizzaSwap!
Deposit assets to PizzaSwap
As mentioned earlier, you need to deposit assets into the PizzaSwap module before swapping.
Let's take the example of BTC, after connecting to your wallet, click "Deposit" tab, Select BTC or another asset from the dropdown list, then choose a transfer to deposit it.
For brc20 tickers, if there is no transferable amount available, please click "Inscribe TRANSFER" to inscribe a transfer inscription first.
Deposits requires block confirmations. Please be patient during this process.
Adding Liquidity to Earn Rewards
Click the "Trading Pairs" button and search for the trading pair you want add liquidity.
If the pair is available, click the "Add" button on the right to add liquidity.
Input the amount of liquidity you wish to contribute, then click the "Supply" button.
Confirm your transaction by clicking the "Confirm Supply" button and signing in your wallet.
Tips: Creating a Liquidity Pool
If you can’t find the trading pair you want, it means the liquidity pool doesn’t exist yet.
To create a new pool, click "Create Trading Pair", select the brc-20 asset from the dropdown list, and then click "Create" to set up a new pool.
Swapping Assets
Click on the Swap button to begin the asset swapping process.
Choose the asset you want to pay with. Then input the amount you wish to pay.
Review the swap details and click the Swap button to initiate the transaction.
Confirm the swap information, then click the "Swap" button. And then sign in your wallet.
Every swap incurs a 0.3% transaction fee. 5/6 allocated to liquidity providers (LPs) rewards, 1/6 used to support platform maintenance.
Withdraw Assets
To withdraw assets from PizzaSwap, simply go to the "Withdraw" page and follow the instructions:
Click the "Swap" button, then click the "Withdraw" tab. Click on the asset you want to withdraw, input the withdraw amount. Then click "Withdraw" button.