@wraith-protocol/sdk is a single npm package with multiple entry points. Most developers use the root import. Power users building custom stealth address integrations use the chain-specific imports.
Installation
Entry Points
Root Import — Agent Client
fetch and TypeScript types. No crypto libraries, no database drivers, no native modules.
Chain Imports — Crypto Primitives
The Chain Enum
Always use the Chain enum when specifying chains. Never pass raw strings.
Available Values
Dependencies
@stellar/stellar-sdk and @solana/web3.js are optional peer dependencies. They’re only needed if you import their respective chain modules. The CKB module has no additional peer dependencies — it uses raw fetch for RPC calls and @noble/hashes for blake2b.
Package Exports
The SDK usespackage.json exports to expose multiple entry points from a single package:
Next Steps
- Agent Client API — full reference for
WraithandWraithAgentclasses - EVM Crypto Primitives — low-level stealth address functions for EVM
- Stellar Crypto Primitives — low-level stealth address functions for Stellar
- Solana Crypto Primitives — low-level stealth address functions for Solana
- CKB Crypto Primitives — low-level stealth address functions for Nervos CKB

