DotSwap Nexus Integration
English
English
  • Intro
  • Quickstart Guide
  • General
    • API Access
  • Global
    • Get All Tickers
    • Get Exchange Rate
    • Get Token List
    • Data Queries
  • Swap
    • Runes
      • Get Swappable Tokens
      • Get Token Exchange Rate
      • Get Unsigned Swap PSBT
      • Send Signed Swap PSBT
    • BRC20
      • Get Swappable Tokens
      • Get Token Exchange Rate
      • Pre-Swap Request
      • Get Unsigned Swap PSBT
      • Send Signed Swap PSBT
    • ARC20
      • Get Swappable Tokens
      • Get Token Exchange Rate
      • Get Unsigned Swap PSBT
      • Send Signed Swap PSBT
    • CAT20
  • Liquidity Management
    • Runes
      • Get Available Tokens
      • Get Token Exchange Rate
      • Get Unsigned Liquidity PSBT
      • Send Signed Liquidity PSBT
    • BRC20
      • Get Available Tokens
      • Get Token Exchange Rate
      • Pre Liquidity
      • Get Unsigned Liquidity PSBT
      • Send Signed Liquidity PSBT
    • ARC20
      • Get Available Tokens
      • Get Token Exchange Rate
      • Get Unsigned Liquidity PSBT
      • Send Signed Liquidity PSBT
  • Remove Liquidity
    • Removing Liquidity
  • CAT20
    • Split
Powered by GitBook
On this page
  • Step1:
  • Step2:
  • Step3:
  • Step4:
  • Step5:
  1. Liquidity Management

BRC20

PreviousSend Signed Liquidity PSBTNextGet Available Tokens

Last updated 1 year ago

In this guide, we will demonstrate how to create and add liquidity to a BRC20 liquidity pool using an example provided by DotSwap. The process includes:

  1. Getting the list of tokens available for adding liquidity

  2. Getting the token swap rate

  3. Creating/adding liquidity to a pool (if the pool exists, it will add liquidity; if not, it will automatically create)

  4. Obtaining an unsigned PSBT for adding/creating liquidity

  5. Submitting a signed PSBT for adding/creating liquidity

Step1:

Step2:

Step3:

Step4:

Step5:

Get Available Tokens
Get Token Exchange Rate
Pre Liquidity
Get Unsigned Liquidity PSBT
Send Signed Liquidity PSBT