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

@absolutejs/onchain

v0.0.2

Published

Tasteful, optional on-chain provenance for AbsoluteJS apps: earn → gasless, soulbound, seed-is-asset collectibles with real editions. Provider-agnostic; ships a working local adapter, real chains via @absolutejs/onchain-adapters.

Downloads

220

Readme

@absolutejs/onchain

Tasteful, optional on-chain provenance for AbsoluteJS apps. Let users earn gasless, soulbound (non-transferable), seed-is-asset collectibles with real editions — and ownership that cannot be faked or forced, even by the app operator.

Provider-agnostic: swap adapters for any chain/wallet/randomness. Ships a working local adapter so it runs with zero setup; real chains live in @absolutejs/onchain-adapters.

Principles (the whole point)

  • The seed is the asset. Items are deterministic functions of a seed — tiny to store, re-derivable forever by anyone. The on-chain record is just the seed.
  • Soulbound = earned, not bought. Non-transferable ⇒ no market, no speculation.
  • Gasless + walletless. Users never touch crypto (embedded wallet + paymaster).
  • Real editions, literal numbers. edition() returns "1 of 1" or "#3 of 50" — never a probability. (A "≈ 1 in N" generator preview is not ownership.)
  • Un-forgeable. A mint requires an Attestation bound to an externally verifiable fact (e.g. a real GitHub commit). No fact, no token — the operator can't conjure one.

Quick start (local adapter, no setup)

import { createOnchain, edition, localAdapter } from "@absolutejs/onchain";

const onchain = createOnchain(localAdapter({ file: "~/.myapp/ledger.json" }));

// the ONLY path to ownership: earn → attest(verifiable fact) → mint(soulbound, real serial)
const token = await onchain.claim("user-id", {
  seed: "wild:acme/app@abc123",            // the deterministic asset
  fact: "github:commit:acme/app@abc123",   // the real interaction it's earned from
  archetype: "wild-creature",
  maxSupply: 1                              // ⇒ a literal 1-of-1
});
edition(token); // "1 of 1"
await onchain.inventory("user-id");         // what they've earned

Swap localAdapter() for baseAdapter({...}) (@absolutejs/onchain-base) for real, gasless, soulbound mints on Base — same claim API.

Adapter contract

Implement @absolutejs/onchain/adapter-kit: WalletProvider, Attester (the integrity gate — verify the fact, then sign), MintProvider (uniqueness + serials), and optionally RandomnessProvider (VRF for true 1-of-1 rolls). See @absolutejs/onchain-adapters.

The local adapter's Attester does not verify facts (it's fakeable, for dev only). Real integrity comes from a chain adapter whose Attester re-checks the fact.