Continuum is an open standard on Sui. Any game can read another game's objects, attach its own data to them, and make new things from them, with lineage anyone can check. No permission or partnership needed.
Draft v0. Package written and tested. Testnet is next. MIT licensed.
derive: verified, source was present
Made with claim: unverified, other chain
Another game's data in an open slot
A game follows the rules that apply to it. Field names, stats and everything else stay up to each game, so shared conventions can come from use instead of committees.
Your object exposes uid_mut. Other games attach their data under a key struct only they can create, so no game can touch another's slot. Owners can lock an object to stop new slots.
public fun uid_mut(koi: &mut Koi): &mut UID {
assert!(!koi.locked, ELocked);
&mut koi.id
}
Anything made from another object stores a record from derive. The source has to be in the same transaction, so the link can't be faked. Sources on other chains use claim and are marked unverified.
let from = provenance::derive(MyGame {}, &koi, ctx);
// from.is_verified() == true
// from.source_is<Koi>() == true
Link a manifest from your package's record in Sui's Move Registry. It says what your fields mean, which types you make and read, and how your art and data are licensed.
package_info.set_metadata(
"continuum.manifest",
"https://…/manifest.json");
Left out on purpose: trust and anti-cheat, balance, shared stat names, economy. Each game decides what it trusts.
Your game can open with objects people already own and care about, instead of an empty inventory.
What players earn stays on chain in their wallets. The next game, or a remix of yours, can pick it up.
Social sign-in and sponsored gas mean no wallet popups during play. On-chain moments are rare and batched into one transaction.
Each level is optional and they stack. An existing Sui game can add them with a normal package upgrade.
Do nothing. Read any object over RPC.
Use other games' objects in yours.
Publish a manifest and link it from your MVR record.
Other builders can find you and know what your fields mean.
Use derive when you make things from others' objects.
Verified lineage back to the source.
Expose uid_mut with a lock flag.
Other games can build on your objects.
A restaurant game shows off a player's koi, keeps a count of guests it charmed on the koi itself, and cooks a signature dish in its pattern. It never asked the koi game for anything.
Collections that don't know about Continuum work too: keep a record your game owns that points at the item through derive.
use continuum::provenance::{Self, Provenance};
use sui::dynamic_field as df;
public struct Tindahan has drop {} // your witness
public struct GuestsCharmed has copy, drop, store {}
public struct Dish has key, store {
id: UID,
from: Provenance,
}
public fun charm_guest(koi: &mut Koi) {
// keep our own count on their object
let uid = koi.uid_mut();
if (df::exists(uid, GuestsCharmed {})) {
let n: &mut u64 = df::borrow_mut(uid, GuestsCharmed {});
*n = *n + 1;
} else {
df::add(uid, GuestsCharmed {}, 1u64);
};
}
public fun cook(koi: &Koi, ctx: &mut TxContext): Dish {
// a signature dish in the koi's pattern, with verified lineage
let from = provenance::derive(Tindahan {}, koi, ctx);
Dish { id: object::new(ctx), from }
}
The proof is two games sharing one object. The final spec gets written after that, from what actually got used.
| Status | Step | Notes |
|---|
Read koi, attach a slot, derive something new. Small and weird is welcome.
Read helpers and transaction builders, including derive on items held in a Kiosk.
Follow the events, build lineage trees, keep snapshots for testnet resets.
Read the rules and the decision log. Tell us what breaks.