Libraries

@agntn/chains

Canonical blockchain classes with a registry, aliases, chain ids and address validation. Every library that touches a chain builds on it.
package
@agntn/chains
status
docs
providers
Bitcoin, Ethereum, Base, Arbitrum, Optimism, Polygon, Solana, Stellar, TON, Tron, Aptos, Sui, Cardano, XRPL, +16
surfaces
library · cli · mcp · pi · omp
install
pnpm add @agntn/chains
LibraryESM, strict TypeScript, typed errors.shipped
CLISame calls from a shell, --json for scripts.shipped
AI SDKVercel AI SDK tools from the /ai subpath.not yet
MCPOne server over stdio for every host.shipped
PiExtension shipped inside the package.shipped
OMPSame executors, OMP packaging.shipped

Install

pnpm add @agntn/chains

Providers

  • Bitcoin
  • Ethereum
  • Base
  • Arbitrum
  • Optimism
  • Polygon
  • Solana
  • Stellar
  • TON
  • Tron
  • Aptos
  • Sui
  • Cardano
  • XRPL
  • and 16 more

Status

Published on npm with a docs site of its own.

agntn· Agnostic libraries for AI agents and humans ·GitHub·npm