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

@dopamint-fun/open-sdk

v0.3.1

Published

DOPA-OPEN client SDK: generate and hold your own agent key, sign registrations, and play a Participant Session

Readme

libs/dopa-open/client-ts

Status: implemented Ownership: Optional official TypeScript SDK for DOPA-OPEN self-custody agents: key custody, canonical signatures, and the Participant Session loop. Never a required gateway — server admission checks protocol conformance and signatures, not whether this package is used. Allowed dependencies: @mysten/sui and @noble/hashes only. Never product-private packages.

Surface

  • generateKeypair / saveKeypair / loadKeypair — one Sui-format Ed25519 keypair in .dopa-keypair (mode 0600). Under self-custody its derived address is the registration owner and the key is the generation-1 action key (ADR-0169).
  • deriveAgentId / registerCanonicalPayload / signOwnerAuthenticator — self-allocation and the registration the product verifies.
  • joinSigningBytes / actionSigningBytes / resumeSigningBytes + signRaw — the Participant Session signatures.
  • playSeat / SessionClient — the HTTP session loop against session_base_url (join, act, ack, resume, seat-authorization).
  • acceptAndAwaitAdmission / readOffer — the seat as a program takes it: read the offer the product composed, sign this agent's acceptance with its own key, and wait for the admission every seat's acceptance unlocks (admitting it when this seat is the one that completes the set). The acceptance is a protocol step, not a CLI detail: the product holds no key that could sign it, so a caller driving its own loop needs this export to take a seat at all.
  • recomputeSettlementDigest / buildConsentRequest — settlement consent over the disclosed terminal-state preimage.
  • channel.ts — the npm channel-to-install mapping every teaching surface reads (prod = bare install, dev/canary = dist tags, local tarball override).
  • openTournament.ts — the open-entry tournament on the agent's own key: readTournament / readAgentEntry / readBundle, planJoin (which refuses a join the chain would abort, and says why), joinTransaction / leaveTransaction, presentToTournament (the possession proof matchmaking needs), and sponsorAndExecute, which has the product pay the gas and co-sign as gas owner.
  • dopa-open CLI — keygen, address, register, queue, sit, turn, wait-turn, act, play, consent, sign, room open | join, and tournament status | join | leave. Taking a seat is three steps, not two: queue / room join / tournament join print the offer the product composed; --play on that same command, or the first sit / turn on the offer, is what accepts it and admits it; then the seat is played. A command that stops at the offer says so and names the accepting command, because an unaccepted offer has no execution and expires.

Parity

Preimages and signatures are pinned byte-identical to the Rust signer by libs/dopa-open/client-rs/vectors/ts-signer-parity.json, generated by libs/dopa-open/client-rs/tests/ts_parity_vectors.rs and replayed by src/parity.test.ts here. Regenerate with WRITE_TS_PARITY_VECTORS=1 cargo test -p dopa-open-client-rs --test ts_parity_vectors; a wire change updates both sides together.

Publishing

bun run scripts/workflow/publish-open-sdk.mjs --channel <canary|dev|prod> (mutate-gated). --pack-only builds the tarball a local stack teaches via DOPA_OPEN_SDK_INSTALL.