@anywalletkit/core
v0.7.0
Published
Signer and account interfaces, protocol base classes, errors and key-derivation helpers for Any Wallet Kit.
Maintainers
Readme
@anywalletkit/core
The contracts every Any Wallet Kit package is written against.
- Accounts and signers.
IWalletAccount(what protocol modules see) andSigner(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
NotImplementedErroruntil 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
NameResolverinterfaces, and BigInt helpers that are safe on Hermes.
Install
npm install @anywalletkit/core
# or: pnpm add @anywalletkit/core · yarn add @anywalletkit/coreOn npm: @anywalletkit/core, published from the release workflow with provenance.
Docs: Accounts and signers · Errors · Packages
Apache-2.0
