Catalog npm
Back to packageRELEASE DETAILS

0.1.2

npm

@0x402/cli

acu — your agent hires an auditor, verifies the seal, and signs its own. Quote with no key at all; verify any seal offline.

0gagentclisealx402
Published8 Sept 2026
Direct dependencies9
Transitive dependenciesNot calculated

README

Current package documentation

@0x402/cli

acu — your agent hires an auditor, verifies the seal, and signs its own.

npx @0x402/cli underwrite 0xDB08Ce217Ce842b06baf76a0Bbb2C10f47fF9eB8

That first command needs no key, no install, no environment variable. It reads the token's bytecode over RPC, asks the reference auditor for its x402 price, runs it past the budget gate, and stops — a dry run is the default, and without a key it is the only thing that can happen. The last line always names the next step.

The whole thing, in five more commands

npx @0x402/cli init      # a burner key into ~/.acu/config.json (0600, in a 0700 dir)
npx @0x402/cli status    # key, USDC balance, auditor, budget — and one next step

# Fund the address it printed with Base Sepolia USDC, then buy one real seal:
npx @0x402/cli underwrite <token> --live --no-settle --publish

npx @0x402/cli verify <file|->   # exit 0 valid, 1 invalid, and it never touches the network

underwrite flags: --ltv 7000 --live --no-settle --publish --endpoint <url> --registry <address> --source <path> --emit-seal <path> --seal-file <path> --offline <fixture>.

Things that will save you a cent

A dry run is the default. Real money needs --live.

Asking to settle with no registry configured refuses before it spends anything — and says so. --registry <address> points it at your own deployment.

A run that fails after the seal is signed still hands you the seal. It says where it saved it and gives you the --seal-file … --publish line that lists it later. The money bought that seal; losing it would be the actual failure.

--no-settle is not a shortcut past anything. The reference registry's verifier trusts exactly one signer, so only the reference agent can list on it. A seal you sign yourself is a fully valid seal and verifies green — it just does not go onto that registry.

Then hand the job to your agent

claude mcp add acu -- npx -y @0x402/mcp

No environment variables: @0x402/mcp reads the same ~/.acu/config.json this CLI wrote.


Repository · Site · MIT

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 9

Native requirements
9 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
viem
Environment
{
  "local_name": "viem",
  "alias": false,
  "peer_metadata": null
}
^2.23.2runtime
zod
Environment
{
  "local_name": "zod",
  "alias": false,
  "peer_metadata": null
}
^3.25.0runtime
@0x402/config
Environment
{
  "local_name": "@0x402/config",
  "alias": false,
  "peer_metadata": null
}
0.1.2runtime
@0x402/seal
Environment
{
  "local_name": "@0x402/seal",
  "alias": false,
  "peer_metadata": null
}
0.1.2runtime
@0x402/storage
Environment
{
  "local_name": "@0x402/storage",
  "alias": false,
  "peer_metadata": null
}
0.1.2runtime
@0x402/underwriter
Environment
{
  "local_name": "@0x402/underwriter",
  "alias": false,
  "peer_metadata": null
}
0.1.2runtime
@types/node
Environment
{
  "local_name": "@types/node",
  "alias": false,
  "peer_metadata": null
}
^22.13.1development
tsx
Environment
{
  "local_name": "tsx",
  "alias": false,
  "peer_metadata": null
}
^4.19.2development
vitest
Environment
{
  "local_name": "vitest",
  "alias": false,
  "peer_metadata": null
}
^3.0.5development

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "integrity": "sha512-M/GSmM/b1ExeQfKyw138Oo6VSNvN5VS0C+hWbY/C/llnXl+0/2zUtPKp82i1rmOoOVN/cdHrefxQcuZFQHEXuA==",
  "shasum": "f1db21711dffa4102f8019dc9fe445d4d4922326",
  "tarball": "https://registry.npmjs.org/@0x402/cli/-/cli-0.1.2.tgz",
  "fileCount": 19,
  "unpackedSize": 68413,
  "signatures": [
    {
      "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U",
      "sig": "MEYCIQCruMr12NpFXiXTbTGf4Oy8OGL0qxa+O2UYNyfCOVYcXwIhAOlTvfgzNVd51qOGXvfNIofBijl3rLPETWjqUDlK3vtO"
    }
  ]
}

Repository

PENDING
wayneal/0g

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 22:35 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:82707b25af40342e52433ffe3fb2bd068e2cf4c96a88efbeffadfd1845421da7

Other collected versions

0.1.18 Sept0.1.07 SeptView all collected versions →