User Guide
DownloadsAbout RAILGUN
  • Railway Wallet
  • Wallet Setup
    • Create a New Wallet
    • Import an Existing Wallet
    • View-Only Wallets
    • Setting Custom RPCs
  • Private Transactions
    • Shielding
    • Unshielding
    • Private Transfers
    • Public Broadcasting
    • Self-Broadcasting
  • Integrated dApps
    • Swaps
    • Private Yield Farming
    • Private Liquidity Provisioning
    • Using an Ethereum Name Service (ENS) Domain
    • Using Railway Wallet with Unstoppable Domains
  • Customize
    • Setting Network Fees
    • Koinly Tax Reports
  • Private Proofs of Innocence
    • Private POI Walkthrough
Powered by GitBook
On this page
  • Prerequisites
  • Add Liquidity Instructions
  • Remove Liquidity Instructions
  1. Integrated dApps

Private Liquidity Provisioning

Last updated 8 months ago

require equal value amounts of the underlying assets. Users deposit assets and receive Liquidity Pool (LP) tokens redeemable for the assets.

Prerequisites

  • You have a or a wallet into Railway

  • some assets into your 0zk balance

Add Liquidity Instructions

1. Click 'dApps' and select 'Liquidity'

Tip: You can also farm LP tokens in the . Click 'Farm' and then a vault provider to see a list of farmable assets. Once you've selected a compatible vault you can then return to the 'Liquidity' tab to enter an LP.

2. Select the Liquidity Pool you want to provide liquidity to

You will need to equal proportions of the 2 underlying tokens to enter into LPs.

If you want to see a full list of liquidity sources, these buttons will take you to the exchange's full list of available liquidity pools

3. Enter your desired token amount. Pools can only be entered from the token on the left. For example, on the 'WETH-DAI' pool, you would have to set the amount using WETH and not DAI.

4. Click 'Confirm Amount' to proceed. You can also change slippage by clicking the cog.

5. Add the resulting LP token to your wallet to view it in your asset list. You will also see the outcome of the liquidity provisioning.

6. Check the LP amounts again closely and click 'Next' to proceed

7. Review the transaction details closely including the RAILGUN protocol fee and click 'Generate Proof' to continue

8. Once the transaction is complete, you will see the resulting LP tokens in your balance and transaction details are visible in the 'Activity' tab

Remove Liquidity Instructions

1. On the 'Liquidity' tab, select 'Remove Liquidity' from the dropdown menu

2. Select the LP token you would like to remove liquidity from

3. Enter in the amount of LP tokens you would like to remove and click 'Confirm amount'. You can also change slippage by clicking the cog.

4. Click 'Next'

5. Review transaction details closely including RAILGUN protocol fee and click 'Generate proof' to continue

7. The remove liquidity transaction details will be visible in the 'Activity' tab

Uniswap v2 style pools
created
imported
Shielded
Railway Farm
shield