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

@moltlaunch/sdk

v3.0.1

Published

MoltLaunch V3 SDK — Composable Signal Architecture for AI Agent Identity on Solana

Downloads

73

Readme


V3 — Composable Signal Architecture

MoltLaunch V3 replaces centralized scoring with on-chain composable signals. Multiple independent authorities submit attestations about an agent's infrastructure, economic stake, and hardware binding. Trust scores are derived permissionlessly from these attestations.

Program: 6AZSAhq4iJTwCfGEVssoa1p3GnBqGkbcQ1iDdP1U1pSb (Solana Devnet)


Install

npm install @moltlaunch/sdk

Architecture

                        ┌─────────────────┐
                        │  ProtocolConfig  │
                        │  (singleton)     │
                        └────────┬────────┘
                                 │
              ┌──────────────────┼──────────────────┐
              ▼                  ▼                   ▼
      ┌──────────────┐  ┌──────────────┐   ┌──────────────┐
      │  Authority A  │  │  Authority B  │   │  Authority C  │
      │  (Single)     │  │  (Oracle)     │   │  (NCN)        │
      └──────┬───────┘  └──────┬───────┘   └──────┬───────┘
             │                  │                   │
             ▼                  ▼                   ▼
      ┌─────────────────────────────────────────────────┐
      │              Attestation Layer                   │
      │  (one per agent × authority pair)                │
      │  signal_type · hash · tee_quote · expires_at     │
      └──────────────────────┬──────────────────────────┘
                             │
                             ▼
                   ┌──────────────────┐
                   │  AgentIdentity   │
                   │  (signal hub)    │
                   │                  │
                   │  trust_score     │
                   │  infra_type      │
                   │  economic_stake  │
                   │  hardware_bind   │
                   │  attestation_cnt │
                   │  is_flagged      │
                   └──────────────────┘

Quick Start

Read Agent Identity (No Wallet Needed)

import { MoltLaunchClient } from "@moltlaunch/sdk";
import { PublicKey } from "@solana/web3.js";

const client = new MoltLaunchClient(); // defaults to devnet

const agent = await client.getAgentIdentity(
  new PublicKey("AgentWalletPubkey...")
);

console.log(`Trust Score: ${agent.trustScore}/100`);
console.log(`Infra Type:  ${agent.infraType}`);
console.log(`Attestations: ${agent.attestationCount}`);
console.log(`Flagged: ${agent.isFlagged}`);
console.log(`Economic Stake: ${agent.hasEconomicStake}`);
console.log(`Hardware Binding: ${agent.hasHardwareBinding}`);

Register an Agent

import { Keypair } from "@solana/web3.js";
import { MoltLaunchClient } from "@moltlaunch/sdk";

const wallet = Keypair.generate();
const client = new MoltLaunchClient({
  wallet: { publicKey: wallet.publicKey, signTransaction: ..., signAllTransactions: ... },
});

const txId = await client.registerAgent("my-agent", wallet);
console.log(`Registered! TX: ${txId}`);

Submit an Attestation (Authority)

import { MoltLaunchClient, SignalType } from "@moltlaunch/sdk";

const client = new MoltLaunchClient({ wallet: authorityWallet });

// 32-byte attestation hash (e.g. SHA-256 of evidence)
const attestationHash = new Uint8Array(32);
crypto.getRandomValues(attestationHash);

// Expires in 30 days
const expiresAt = Math.floor(Date.now() / 1000) + 30 * 24 * 60 * 60;

const txId = await client.submitAttestation(
  agentPubkey,           // agent's wallet pubkey
  SignalType.InfraCloud, // signal type
  attestationHash,       // 32-byte hash
  expiresAt,             // unix timestamp
  authorityKeypair,      // authority signs
);

Refresh Signals (Permissionless)

// Anyone can call this — no authority needed
const txId = await client.refreshSignals(agentPubkey);

Flag an Agent (Authority)

const reasonHash = new Uint8Array(32); // SHA-256 of reason
const txId = await client.flagAgent(agentPubkey, reasonHash, authorityKeypair);

Revoke an Attestation

const txId = await client.revokeAttestation(agentPubkey, authorityKeypair);

PDA Derivation

import {
  findConfigPda,
  findAgentPda,
  findAuthorityPda,
  findAttestationPda,
} from "@moltlaunch/sdk";

const [configPda]      = findConfigPda();
const [agentPda]       = findAgentPda(walletPubkey);
const [authorityPda]   = findAuthorityPda(authorityPubkey);
const [attestationPda] = findAttestationPda(agentWallet, authorityPubkey);

| PDA | Seeds | |-----|-------| | ProtocolConfig | ["moltlaunch"] | | AgentIdentity | ["agent", wallet] | | Authority | ["authority", pubkey] | | Attestation | ["attestation", agent_wallet, authority_pubkey] |


On-Chain Types

InfraType

| Variant | Description | |---------|-------------| | Unknown | No infrastructure attestation yet | | Cloud | Standard cloud infrastructure | | TEE | Trusted Execution Environment | | DePIN | Decentralized Physical Infrastructure |

SignalType

| Variant | Description | |---------|-------------| | InfraCloud | Cloud infrastructure attestation | | InfraTEE | TEE attestation (with optional quote) | | InfraDePIN | DePIN device attestation | | EconomicStake | Economic stake verification | | HardwareBinding | Hardware binding attestation | | General | General-purpose attestation |

AuthorityType

| Variant | Description | |---------|-------------| | Single | Single-signer authority | | MultisigMember | Member of a multisig | | OracleOperator | Oracle-based operator | | NCNValidator | Jito NCN validator |


Consumer Integration

Any protocol can read agent trust signals to make access decisions:

import { MoltLaunchClient, InfraType } from "@moltlaunch/sdk";

const client = new MoltLaunchClient();
const agent = await client.getAgentIdentity(wallet);

if (agent.infraType === InfraType.TEE && agent.hasEconomicStake) {
  grantFlashLoan();      // High trust — TEE + economic skin in the game
} else if (agent.trustScore >= 30) {
  grantBasicAccess();    // Medium trust — at least one attestation
} else {
  deny();                // Unverified — no attestations
}

API Reference

MoltLaunchClient

| Method | Description | Signer | |--------|-------------|--------| | getConfig() | Fetch protocol config | — | | getAgentIdentity(wallet) | Fetch agent signal hub | — | | getAuthority(pubkey) | Fetch authority account | — | | getAttestation(agent, authority) | Fetch attestation | — | | registerAgent(name, keypair) | Register new agent | Agent wallet | | submitAttestation(...) | Submit attestation | Authority | | revokeAttestation(agent, authority) | Revoke attestation | Authority | | refreshSignals(agent) | Refresh trust score | Anyone | | flagAgent(agent, reason, authority) | Flag an agent | Authority | | unflagAgent(agent, admin) | Unflag an agent | Admin | | initialize(admin) | Initialize protocol | Admin | | addAuthority(pubkey, type, admin) | Add authority | Admin | | removeAuthority(pubkey, admin) | Remove authority | Admin | | setPaused(paused, admin) | Pause/unpause | Admin | | transferAdmin(newAdmin, admin) | Transfer admin | Admin |


Changelog

v3.0.0 (Current)

  • Complete rewrite for Composable Signal Architecture
  • On-chain program at 6AZSAhq4iJTwCfGEVssoa1p3GnBqGkbcQ1iDdP1U1pSb
  • registerAgent() — creates AgentIdentity PDA
  • submitAttestation() — authority submits attestation with signal type
  • revokeAttestation() — authority revokes own attestation
  • refreshSignals() — permissionless trust score refresh
  • flagAgent() / unflagAgent() — authority/admin flagging
  • PDA derivation helpers
  • Full TypeScript types matching on-chain enums
  • Bundled IDL for Anchor integration

v2.4.0

  • TPM challenge-response, DePIN registration

v2.0.0

  • On-chain AI verification via Cauldron

v1.0.0

  • Initial release

Links

| Resource | URL | |----------|-----| | npm | https://www.npmjs.com/package/@moltlaunch/sdk | | Demo | https://youragent.id/demo.html | | Docs | https://youragent.id/docs.html | | Explorer | https://explorer.solana.com/address/6AZSAhq4iJTwCfGEVssoa1p3GnBqGkbcQ1iDdP1U1pSb?cluster=devnet | | GitHub (program) | https://github.com/tradingstarllc/moltlaunch | | GitHub (SDK) | https://github.com/tradingstarllc/moltlaunch-sdk | | GitHub (site) | https://github.com/tradingstarllc/moltlaunch-site |


License

MIT