Skip to content
docs

@anywalletkit/core

npm

The contracts every Any Wallet Kit package is written against.

  • Accounts and signers. IWalletAccount (what protocol modules see) and Signer (what holds a key). The local seed signer is one implementation; a Safe, a hardware wallet, MPC or a backend signer are others.
  • WalletManager — the base class chain packages extend: one seed → accounts by index or path, dispose() zeroizes.
  • Protocol base classes — swap, bridge, swap2 (swap + bridge in one), lending, staking, approvals, fiat. Every method throws NotImplementedError until a module implements it.
  • Errors — the shared error classes apps branch on.
  • Key derivation — BIP-39 seeds, BIP-32 (secp256k1) and SLIP-10 (ed25519) helpers.
  • History, names, numbers — the activity and NameResolver interfaces, and BigInt helpers that are safe on Hermes.
Terminal window
npm install @anywalletkit/core
# or: pnpm add @anywalletkit/core · yarn add @anywalletkit/core

On npm: @anywalletkit/core, published from the release workflow with provenance.

Docs: Accounts and signers · Errors · Packages

Apache-2.0