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

@oneforge/sdk

v0.1.1

Published

Protocol SDK for OneForge — atomic token issuance on Solana

Readme

@oneforge/sdk

npm

Protocol SDK for OneForge — a specification for atomic, trustless token issuance on Solana.

OneForge bundles all seven steps of a token launch into a single VersionedTransaction. Either every step succeeds or none do. There is no intermediate state in which a deployer retains administrative control.

Read the whitepaper · Reference implementation


What OneForge guarantees

A token launched via the OneForge protocol satisfies the following invariants, enforced atomically:

| Invariant | How it's enforced | |---|---| | Mint authority permanently revoked | setAuthority(null) in the same transaction as mint creation | | Freeze authority never set | Initialised as null — no wallet can ever be frozen | | Metadata permanently on Arweave | URI uploaded before the transaction is built, embedded in the atomic tx | | 2% of supply burned at mint | burn instruction in the same transaction | | LP distribution enforced | Burn or lock applied atomically — no window between pool creation and LP lock |

If the token exists on-chain, all seven operations completed. No trust in the platform, the deployer, or this document is required.


Installation

npm install @oneforge/sdk

Peer dependencies (must be installed by the consumer):

npm install @solana/web3.js @solana/spl-token

Usage

Check if a token is OneForge-compliant

import { Connection } from '@solana/web3.js';
import { isOneForgeCompliant } from '@oneforge/sdk';

const connection = new Connection('https://api.mainnet-beta.solana.com');

const report = await isOneForgeCompliant(
  '4mR2s7NroXHYc8CSiToqJKnZexEXjeiq49YxVuUjmBzY',
  connection,
);

console.log(report.compliant);        // true
console.log(report.metadataUri);      // https://arweave.net/...
console.log(report.violations);       // []

The compliance check inspects on-chain state only:

  • Mint account (mint authority, freeze authority)
  • Metaplex metadata PDA (URI, immutability)

No API calls to Crxcible or any other platform are made.

Protocol constants

import { LP_SPLIT, SWAP_FEE_RATE, SUPPLY_BURN_PCT } from '@oneforge/sdk';

LP_SPLIT.quick   // { burned: 70, locked: 0,  creator: 10, platform: 20 }
LP_SPLIT.safe    // { burned: 0,  locked: 75, creator: 15, platform: 10 }

SWAP_FEE_RATE.quick  // 20_000 (2%)
SWAP_FEE_RATE.safe   // 10_000 (1%)

SUPPLY_BURN_PCT      // 2

TypeScript types

import type {
  OneForgeTier,
  OneForgeParams,
  OneForgeResult,
  OneForgeComplianceReport,
  LpSplit,
} from '@oneforge/sdk';

Compliance report shape

interface OneForgeComplianceReport {
  compliant:              boolean;   // true only if all invariants are satisfied
  mintAuthorityRevoked:   boolean;
  freezeAuthorityRevoked: boolean;
  metadataUri:            string | null;
  metadataOnArweave:      boolean;
  violations:             string[];  // human-readable list of failed checks
}

LP distribution

Quick tier

| Recipient | Share | |---|---| | Burned (permanent) | 70% | | Creator wallet | 10% | | Platform | 20% |

70% of LP tokens are sent to a burn address. The liquidity they represented stays in the pool permanently — nobody can ever claim it.

Safe tier

| Recipient | Share | |---|---| | Locked via Raydium lock program | 75% | | Creator wallet | 15% | | Platform | 10% |

75% of LP tokens are locked permanently via Raydium's on-chain lock program. The lock is irrevocable.


Protocol specification

The OneForge protocol is defined by the following invariants. Any implementation that satisfies all of them is a valid OneForge launch.

  1. All seven operations execute within a single VersionedTransaction (v0 format).
  2. Mint authority is set to null via setAuthority within that transaction.
  3. Freeze authority is initialised as null — never set.
  4. 2% of total supply is burned within that transaction.
  5. Token metadata is created via the Metaplex Token Metadata program, referencing an Arweave URI.
  6. The Arweave URI is uploaded and confirmed before the transaction is constructed.
  7. LP distribution (burn or lock) is applied within the same atomic pipeline.

The atomicity guarantee: Solana transactions are atomic by definition. If any instruction fails, the entire transaction reverts. OneForge exploits this property — there is no partial execution state possible.


Reference implementation

Crxcible (crxcible.io) is the first production deployment of the OneForge protocol. It has processed multiple launches across both tiers on Solana mainnet since March 2026.

Crxcible is a product that implements this protocol. The guarantees defined here derive from the protocol specification, not from Crxcible's codebase. Any platform can implement OneForge — the on-chain compliance check works against any compliant launch regardless of which platform produced it.


License

MIT