Overview
Packages
Three device packages for keys and storage, and one server package for Gray3 Cloud.
Overview
Gray3 ships four TypeScript packages. Three of them run on the device: @gray3/core for chain identity and errors, @gray3/client for HD wallets and signing, and @gray3/keystore for encrypted local storage. They never hold your project secret. The fourth, @gray3/cloud, runs on your server and wraps the Gray3 Cloud API and the Gray3 Ledger API with your project credentials.
Packages
| Package | Role | Docs |
|---|---|---|
| @gray3/core | Chain catalog, types, address helpers, GrayError. No network I/O. | Core |
| @gray3/client | GrayClient — create / import / watch / derive / sign / Monero sync. | Client — wallets |
| @gray3/keystore | Encrypted SQLite / KV storage implementing GrayStorage for the client. | Keystore |
| @gray3/cloud | Server-side client for the Gray3 Cloud API and Gray3 Ledger API. Node.js 20+, Deno, Bun, and edge runtimes only. | Cloud SDK |
Dependency direction
Do not fork chain id lists in your app—import from @gray3/core or the client's re-exports. Full id reference: Supported chains.
Choose your platform
The three device packages run on Node.js, browsers, Chrome extensions, and React Native. Setup differs per platform; follow the guide for yours in Platforms.