Search…
Integration
  • The smart contracts' source code can be found in the Liquidswap repository.
  • The current version of Liquidswap is deployed on the address 0x43417434fd869edee76cca2a4d2301e528a1551b1d719b75c350c3c97d15b8b9.
  • The latest release tag can be found on the Releases page.
Before we start, create a new Move project so that you can repeat the steps as described here.

Supported networks

The Aptos testnet is currently supported, we would probably deploy to devnet to have both testnet and devnet available, but it's future plans.

Add as dependency

To integrate Liquidswap into your project, you first need to add a dependency to your Move.toml
1
[dependencies.Liquidswap]
2
git = 'https://github.com/pontem-network/liquidswap.git'
3
rev = 'latest version'
Add the LP coin module as a dependency too:
[dependencies.LiquidswapLP]
git = 'https://github.com/pontem-network/liquidswap.git'
subdir = 'liquidswap_lp/'
rev = 'release-v0.3'
Replace 'latest version' with the actual ones from the repositories.
Next, try compile; you shouldn't get any errors.
Liquidswap's contracts always point to the latest AptosFramework devnet revision. If you encounter issues after adding our dependencies, remove dependencies.AptosFramework completely from your project.
Copy link
On this page
Add as dependency