Documentation Index
Fetch the complete documentation index at: https://docs.usewraith.xyz/llms.txt
Use this file to discover all available pages before exploring further.
@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
| Import | Purpose | Audience |
|---|---|---|
@wraith-protocol/sdk | Agent client — create agents, chat, payments | Most developers |
@wraith-protocol/sdk/chains/evm | Raw secp256k1 stealth crypto primitives | Power users building custom EVM integrations |
@wraith-protocol/sdk/chains/stellar | Raw ed25519 stealth crypto for Stellar | Power users building on Stellar |
@wraith-protocol/sdk/chains/solana | Raw ed25519 stealth crypto for Solana | Power users building on Solana |
@wraith-protocol/sdk/chains/ckb | Raw secp256k1 stealth crypto for CKB | Power users building on Nervos CKB |
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
| Package | Used By | Purpose |
|---|---|---|
@noble/curves | EVM + Stellar + Solana + CKB chains | Elliptic curve operations |
@noble/hashes | EVM + Stellar + Solana + CKB chains | SHA-256, SHA-512, keccak256, blake2b |
viem | EVM chains + agent client | EVM utilities, address encoding |
@stellar/stellar-sdk | Stellar chain (optional peer dep) | StrKey encoding for Stellar addresses |
@solana/web3.js | Solana chain (optional peer dep) | PublicKey encoding for Solana addresses |
@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

