Getting Started
How to depend on this service?
Dependencies
CetusClmm = { git = "https://github.com/CetusProtocol/cetus-clmm-interface.git", subdir = "sui/cetus_clmm", rev = "mainnet-v1.49.0", override = true }
Example
[package]
name= "cetus_example"
version = "0.0.1"
[dependencies]
CetusClmm = { git = "https://github.com/CetusProtocol/cetus-clmm-interface.git", subdir = "sui/cetus_clmm", rev = "mainnet-v1.49.0", override = true }
[address]
cetus_example = "0x0"
// don't need to define cetus_clmm duplicate
How 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
Global Config ID:
0xdaa46292632c3c4d8f31f23ea0f9b36a28ff3677e9684980e4438403a67a3d8f
Last updated