Skip to content
Docs

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

PackageRoleDocs
@gray3/coreChain catalog, types, address helpers, GrayError. No network I/O.Core
@gray3/clientGrayClient — create / import / watch / derive / sign / Monero sync.Client — wallets
@gray3/keystoreEncrypted SQLite / KV storage implementing GrayStorage for the client.Keystore
@gray3/cloudServer-side client for the Gray3 Cloud API and Gray3 Ledger API. Node.js 20+, Deno, Bun, and edge runtimes only.Cloud SDK

Dependency direction

Each package depends only on the ones below it. @gray3/core is the shared base.

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.