Getting Started

How to dependency this project

Dependencies

CetusClmm = { git = "https://github.com/CetusProtocol/cetus-clmm-interface.git", subdir = "sui/clmmpool", rev = "mainnet-v1.2.0" }

Example

[package]
name= "cetus_example"
version = "0.0.1"

[dependencies]
CetusClmm = { git = "https://github.com/CetusProtocol/cetus-clmm-interface.git", subdir = "sui/clmmpool", rev = "mainnet-v1.2.0" }

[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 ----skip-dependency-verification during the build and publish. Update Note: In latest version sui move cli, this argument was deprecated.

Just use sui move build.

Global config id

Global Config ID:

0xdaa46292632c3c4d8f31f23ea0f9b36a28ff3677e9684980e4438403a67a3d8f

Last updated