Getting Started
How to depend on this service?
Dependencies
CetusClmm = { git = "https://github.com/CetusProtocol/cetus-contracts.git", subdir = "packages/cetus_clmm", rev = "mainnet-v0.0.14", override = true }CetusClmm = { git = "https://github.com/CetusProtocol/cetus-contracts.git", subdir = "packages/cetus_clmm", rev = "testnet-v0.0.1", override = true }Example
[package]
name= "cetus_example"
version = "0.0.1"
[dependencies]
CetusClmm = { git = "https://github.com/CetusProtocol/cetus-contracts.git", subdir = "packages/cetus_clmm", rev = "mainnet-v0.0.14", override = true }
[address]
cetus_example = "0x0"
// don't need to define cetus_clmm duplicate[package]
name= "cetus_example"
version = "0.0.1"
[dependencies]
CetusClmm = { git = "https://github.com/CetusProtocol/cetus-contracts.git", subdir = "packages/cetus_clmm", rev = "testnet-v0.0.1", override = true }
[address]
cetus_example = "0x0"
// don't need to define cetus_clmm duplicateHow to build and publish?
Cetus clmm interface is not complete in terms of code base (only function definition is provided), so it will get failed when sui client checks its code version. However, this does not affect its actual functionality.
Therefore, we need to add a --dependencies-are-root during the build and publish.
Global Config ID
Pools ID
Last updated