Crate suibase

source ·
Expand description

suibase

API to suibase mostly intended for development of Sui tool/test automation and production backends.

This API is:

  • multi-thread safe.
  • UniFFI bindings compatible (Sync+Send)

See https://suibase.io for more info.

What is Suibase?

Suibase makes it easy for Sui devs to simultaneously interact with multiple Sui networks (localnet/devnet/testnet/mainnet) without having to “switch env”.

Your dev setup gains stability by having a client binary match every network version.

How to use?

Suibase is not available on crates.io. It is instead installed (github cloned) to your local machine and your app references it. That way your app and the suibase installation are certainly matching versions.

After installing suibase (more info), add to your Cargo.toml:

[dependencies]
suibase = { path = "../../suibase/rust/helper" }

You may have to adjust the number “../” depending on where your Cargo.toml is located relative to ~/suibase.

Structs

  • A lightweight API to suibase. Multiple instance can be created within the same app.

Enums