This guide outlines the detailed process of creating liquidity pools within White Whale's ecosystem, ensuring a comprehensive and accurate setup. By following these steps, you can create and manage pools effectively also ensuring you are following our evolving standard to get pools listed quickly.
- Collect Essential Token Details: Including name, symbol, logo, and decimals.
- For pools not paired against WHALE, collect the same info for both tokens.
Contract Message for Adding Native Token Decimals:
{
"add_native_token_decimals": {
"denom": "<denom_path>",
"decimals": <number_of_decimals>
}
}
- Documentation: Add Native Token Decimals
- Choose the blockchain for deployment and establish the liquidity distribution ratio.
- Decide the order based on the token type (stablecoin or non-stablecoin).
Contract Message for Creating a Pool:
{
"create_pair": {
"asset_infos": [
{
"native_token": {
"denom": "<first_token_denom>"
}
},
{
"native_token": {
"denom": "<second_token_denom>"
}
}
],
"pool_fees": {
"protocol_fee": {
"share": "0.001"
},
"swap_fee": {
"share": "0.002"
},
"burn_fee": {
"share": "0.0"
}
},
"pair_type": "constant_product",
"token_factory_lp": true
}
}
- Documentation: Create Pair
Before adding a swap route, ensure initial liquidity is provided.
- Initial Liquidity Documentation: Adding Initial Liquidity
Contract Message for Creating Incentives:
{
"create_incentive": {
"lp_asset": {
"native_token": {
"denom": "<lp_token_denom>"
}
}
}
}
- Documentation: Create Incentive
- Configure GUI, document the pool, and list it in the frontend
pools_list
.
- Verify that tokens and LP are listed in the asset directory.
- Provide details to Enigma and Coinhall for indexing.
- Have Enigma add the pool information to the Coingecko API.
- Verify creation, setup, and perform tests for swaps and liquidity provision.
- Coingecko API Submission: Enhance discoverability by listing the pool on analytical platforms.
By following this guide and utilizing the provided contract messages, you can ensure the accurate creation, documentation, and operation of liquidity pools.