pub struct TaiConfig {
pub network: Network,
pub rpc_url: String,
pub package_id: ObjectId,
pub config_id: ObjectId,
}Expand description
All the on-chain pointers a client needs to interact with a Tai
deployment: the package id (immutable), the shared LaunchpadConfig
id, and the RPC endpoint.
Fields§
§network: NetworkWhich Sui network this config targets.
rpc_url: StringHTTP JSON-RPC endpoint.
package_id: ObjectIdAddress of the deployed tai Move package.
config_id: ObjectIdObject id of the shared LaunchpadConfig created at publish time.
Implementations§
Source§impl TaiConfig
impl TaiConfig
Sourcepub fn testnet_v1() -> Self
pub fn testnet_v1() -> Self
The current canonical testnet deployment of the v1 Tai package. Points at v1.1.1 — the in-place upgrade of v1.1.0 that added spec/receipt length bounds (L4). The package_id is the upgraded package; the config_id is unchanged across the upgrade (Sui upgrades don’t move existing objects).
Source: move/published.json in this repo. Upgraded 2026-05-28 at
checkpoint 342196917, tx HmVRYzXdgnxTy97h71bUH6N2m567afy1Bc9wjuUjokLn.
Type/event anchor remains the v1.1.0 package
0x7d86697afc21895a94687ee5c16012384862d43dfd8a6841e2e4a0ac0690efb3.