Integration
Last updated
Last updated
Before we begin, please create a new Move project. This initial step will enable you to follow along with the subsequent instructions more effectively.
The code for is available in our GitHub repository. You can access it to review, download, or contribute to the project.
The contracts for our project have been deployed on the Aptos mainnet at the following addresses:
If you are working with the Aptos testnet, please use the following addresses:
To integrate Liquidswap into your project, begin by adding the Liquidswap dependency to your Move.toml
file:
Continue the setup by importing the rest of the required dependencies into your project. Ensure each dependency is correctly listed in your 'Move.toml' to facilitate seamless integration:
Ensure to replace `latest version or testnet' with the actual version numbers sourced from the repositories. After updating these details, proceed to compile your project. Ideally, this step should complete without any errors.
Caution: ensure you switch to the testnet branch when conducting experiments on the Aptos testnet.