Create your own farming pool
Important: It is crucial to have a comprehensive understanding of the tasks involved, as there are inherent risks, including the potential loss of funds.
If you are interested in creating a new farming pool on Liquidswap and providing rewards, this is the page you should study. The current example demonstrates the process using the Aptos CLI, but alternative methods can be employed with the Aptos SDK or a custom user interface (note that a default interface is not currently provided and there are no plans to develop one at this time).
Preparation
Before creating a farming pool, if you want it to be visible on the Liquidswap DApp, please contact us first and communicate your intentions. Otherwise, we will not be able to whitelist your reward pool.
To create a farming pool, you will need:
A new account funded with Aptos to cover gas fees and containing the reward coins you plan to use for the pool.
Optional: If you want to enable users to stake NFTs for a staking boost, you will also need information about the staking collection:
Address of the collection creator
Name of the collection
Before creating the pool, prepare a folder that will store the Aptos profile containing the private key from the account you plan to use for pool creation.
If you're unsure how to do this, simply create a new directory and run the aptos init
command there. As a result, you can either create a new account and transfer tokens to it or use the private key from an existing account.
Pool Creation
To create a pool without an NFT collection booster, use the following command from the directory containing your Aptos CLI profile.
Make sure to replace the placeholder values with your own information:
Example of a stake coin type if you want to allow people to stake lzUSDC / APT LP coins:
If you want to create a pool with NFT collection use another command:
After creating the new pool, please provide us with the following information:
A link to the transaction in the blockchain explorer.
Account address that created the pool (so we can verify).
Last updated