Prerequisites
- Access to the ALTBC Liquidity Repo
- An account you control added to the deployer allowlist
- An ERC-20 token with some tokens available to initialize the pool
Get Started
1
Clone the `liquidity-altbc` repo
The
forge install step will require a github access token to install the liquidity-base
dependency.2
Setup .env file
3
Add info for base-sepolia
You can use these values to deploy a pool to You will also need to add the token address for the ERC-20 token you’re creating the pool with:
base-sepolia testnet:4
Pool Initialization Parameters
You can learn more about these values on the Pool Initialization Params docs page. For the quickstart you can use these starting values:
5
Add an RPC URL to the .env file
6
Create the pool
Now you’re ready to create your first pool! There is a script available in the The above script will ultimately output the address for your trading pool. Take note of the pool address for later use.
liquidity-altbc repo for this purpose.7
Find your pool in our Swap UI
You should now be able to find your trading pool in our Swap UI! Go to the linked site, connect a wallet, select the Base Sepolia network, and you should be able to find your pool listed!
8
Make a swap
First, you’ll need to get some of the mock USDC token.That command will mint 100 USDC to the same wallet you used to deploy the pool. Now you can perform a swap in the UI to test everything out!