Peg-in/out

How does a peg-in work?


1. You provide a Liquid address

This is the address where you want to receive your L-BTC.

2. We generate a Federation peg-in address

SideSwap creates a Liquid Federation multisig mainchain peg-in address along with the corresponding claim script.You send BTC to this Bitcoin mainchain address.

3. We monitor the deposit

Once your BTC transaction is detected, we determine whether it can be pre-funded from our hot wallet after 2 confirmations, or whether you must wait for the full confirmation period.

4. Confirmation requirements

In normal circumstances, eligible peg-ins may be pre-funded after 2 confirmations.

Otherwise, funds are released after 102 confirmations, when the peg-in can be formally claimed on Liquid.

5. Claim and settlement

After 102 confirmations, L-BTC are claimed using the peg-in claim script:

If you were pre-funded earlier, we replenish our hot wallet.

If you were not pre-funded, we forward the L-BTC to your Liquid address at that time.

Next How does a peg-out work?