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

@quillai-network/x402-wach

v2.0.0

Published

CLI SDK for WACH.AI token risk analysis via x402 payments

Readme

x402-wach

A CLI and SDK for WACH.AI token risk analysis, powered by x402 and secured with Coinbase AWAL.

Payments are made in USDC on Base. Private keys are not stored in this project.

x402-wach verify-risk 0xA0b8...3E8 eth

Security Model

  • x402-wach no longer stores wallet.json or raw private keys.
  • Signing and wallet custody are handled by AWAL and keys are secured with coinbase infrastructure
  • The CLI can enforce per-request maximum payment (--max-amount-atomic).

Quick Start

Install

# Clone & install
git clone <repo-url> && cd x402-
npm install
npm run build

# Link CLI globally
npm link

Set up AWAL wallet

# Check readiness
x402-wach wallet setup

# Start OTP login
x402-wach wallet login [email protected]

# Complete OTP verification
x402-wach wallet verify <flowId> <otp>

# Check wallet address and balance
x402-wach wallet address
x402-wach wallet balance

Analyze a token

x402-wach verify-risk <TOKEN_ADDRESS> <CHAIN_NAME>

Example:

x402-wach verify-risk 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 eth

Supported Chains

| Short Name | Chain | Chain ID | | ---------- | ------------------- | -------- | | eth | Ethereum | 1 | | pol | Polygon | 137 | | base | Base | 8453 | | bsc | Binance Smart Chain | 56 | | sol | Solana | solana |

The token being analyzed can be on any supported chain. Payment is always USDC on Base.

CLI Commands

| Command | Description | | ----------------------------------------------------------------- | ---------------------------------------------- | | x402-wach verify-risk <tokenAddress> <chainName> | Analyze token risk (x402 payment via AWAL) | | x402-wach verify-risk ... --max-amount-atomic 10000 | Enforce max $0.01 x402 spend for that request | | x402-wach wallet setup | Check AWAL install, auth, and funding readiness| | x402-wach wallet doctor [--min-usdc-atomic 10000] | Run AWAL diagnostics with remediation hints | | x402-wach wallet login <email> | Start AWAL OTP login | | x402-wach wallet verify <flowId> <otp> | Complete AWAL OTP verification | | x402-wach wallet status | Show raw AWAL status | | x402-wach wallet address | Show AWAL wallet address | | x402-wach wallet balance [--chain base|base-sepolia] | Show AWAL wallet balance | | x402-wach chains | List supported token analysis chains | | x402-wach guide | Show setup and usage guide |

Programmatic Usage

import { verifyTokenRisk, getAwalReadiness } from "@quillai-network/x402-wach";

const readiness = await getAwalReadiness(10_000);
if (!readiness.ready) {
  throw new Error(readiness.reasons.join("; "));
}

const report = await verifyTokenRisk(
  "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
  "eth",
  { maxAmountAtomic: 10_000 }
);

console.log(report);

See usage.md for a complete SDK reference.

License

MIT