npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@coownable/sui

v1.0.4

Published

Sui Move contract for Coownable — fractional ownership of any asset class

Downloads

419

Readme

Continuous Integration

Coownable Sui Move contract

Coownable is a platform for fractional co-ownership of real-world assets — paintings, sculptures, wine, whisky, Pokemon cards, and whatever comes next. This repository contains the on-chain Sui Move contract and the TypeScript SDK that backs it.

The contract is closed for modification, open for extension: a single Asset type supports any asset class without redeploying the package. Each asset carries a kind discriminator (e.g. "wine", "painting", "pokemon_card") and stores class-specific metadata in dynamic fields keyed by name. Adding a new asset class never requires touching this code.

Modules

Concepts

Asset

A shared object representing the underlying co-owned thing. Generic fields: kind, name, description, currency, total_supply, available_shares, share_price, outgoing_price, plus the Sui Display-aligned fields image_url, thumbnail_url, link, creator. Class-specific fields (e.g. vintage, region, grading) live as dynamic-field metadata managed via set_metadata / get_metadata.

Share

An owned NFT representing a fractional stake in an Asset. Carries an amount plus a snapshot of the parent Asset's display fields. Supports split, merge, transfer, and safe_burn (post-ITO).

Holding

A dynamic field attached to an Asset, keyed by the holder's address. Tracks the running total of an address's stake across many Share NFTs. Read by the governance module to weight votes.

Motion (governance)

A shared object representing a proposal put to shareholders of one Asset. Yes/no votes weighted by Holding.value. One vote per address per motion.

Extending to a new asset class

No Move changes. Mint an Asset with the new kind and the metadata you need:

import { mintAsset } from "@coownable/sui";

await mintAsset(adminWallet, {
  adminCapId,
  kind: "pokemon_card",
  totalShareCount: 1000,
  sharePrice: 5,
  outgoingPrice: 10_000,
  name: "Charizard 1st Edition Shadowless",
  description: "PSA 10",
  currency: "USD",
  imageUrl: "https://example.com/cards/charizard-base-set-4/image",
  thumbnailUrl: "https://example.com/cards/charizard-base-set-4/thumb",
  link: "https://example.com/cards/charizard-base-set-4",
  creator: "Wizards of the Coast",
  metadata: {
    grading: "PSA 10",
    edition: "1st Edition Shadowless",
    set: "Base Set",
    year: "1999",
  },
});

Contributing

See CONTRIBUTING.md.