Skip to main content

Install

Requirements

The package publishes both ESM and CommonJS entry points with matching type declarations, so import and require both work.

Signer adapters

Signing is optional. You only need a signer for x402 payments, client-signed and client-broadcast writes, and RAMS EIP-712 authorization — a read-only or Dapp-with-API-key integration needs none. Three adapters ship with the package, each on its own subpath:
ethers and viem are optional peer dependencies, imported only from their own subpath. A consumer using neither installs neither, and nothing pulls them into your bundle.
fromPrivateKey needs no peer dependency at all — it signs with the bundled micro-eth-signer. See Signers for the Signer interface and how to bring your own KMS or MPC wallet.

Verify the install

GET /get-network-info needs no credential, so this confirms the package resolves and can reach the API before you configure anything.

Quickstart

Your first authenticated call.