Skip to content

Latest commit

 

History

39 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

partyos

License: Apache 2.0 Move

On-chain party identity for Sui.

partyos provides a reusable identity primitive for protocols that need to represent people, groups, and organizations:

  • Party — a named, capability-authorized identity that can represent an individual or a group of parties. Parties are extensible (other packages can attach data via dynamic fields) and own their lifecycle through a PartyAdminCap.

Concepts

Party

let (party, cap) = party::new(party::new_individual_kind(), b"Ada".to_string(), ctx);
party.share(&cap); // make it a shared object
  • Individual or group (new_individual_kind() / new_group_kind()); groups hold member party IDs.
  • All mutations, including naming and consent-based group membership, require the appropriate PartyAdminCap.
  • Extensible: holders of the cap can reach the party's &mut UID (uid_mut) to attach domain data.

Install

[dependencies]
partyos = { git = "https://github.com/misofm/partyos.git", rev = "<commit-sha>" }

Pin rev to the exact commit reviewed by your application. Party profile and presentation slices live in misofm/partyos-extensions.

TypeScript SDK

Party bindings, reads, and composable transaction builders are included in @misofm/protocol and are exposed through client.miso.party. This repository no longer publishes a separate TypeScript package.

Build & test

sui move build
sui move test

Contributing

Issues and pull requests are welcome. By contributing you agree that your contributions are licensed under the project's Apache 2.0 license.

License

Apache 2.0 © Miso Labs, Inc.

About

Permissionless primitives for identifying and crediting parties.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages