Skip to content
Docs

Introduction

Core concepts

Organizations, projects, API keys, and the four Gray3 products, explained in one place.

The four products

  • Workspace is the Gray3 Console. You use it to create organizations and projects, invite teammates, issue API keys, enable networks, read usage, manage billing, and contact support.
  • Gray3 Cloud API is the main HTTPS API at https://blockchain.gray3.io. It serves chains, portfolio and balances, activity, prices, NFTs, DeFi, swaps, gas, and the transaction lifecycle.
  • Gray3 Ledger API at https://ledger.gray3.io stores transaction records for your project and serves the Gray3 token registry.
  • Wallet SDKs are four TypeScript packages: @gray3/client for keys and signing on the device, @gray3/keystore for encrypted storage, @gray3/core for the chain catalog and errors, and @gray3/cloud for calling the APIs from your server.

Organizations, projects, and keys

An organization is your team and billing boundary. It has a plan, a credit allowance, and members with roles. Inside an organization you create projects. A project usually represents one app in one environment, such as "Acme Wallet Production" or "Acme Wallet Staging".

Each project has a public project ID (it starts with proj_) and one or more secret keys (they start with gray_sk_). Every authenticated request to the Cloud API or the Ledger API sends both:

  • X-Gray-Project-Id: proj_…
  • Authorization: Bearer gray_sk_…

How the pieces fit together

  1. Your app creates or restores a wallet on the device with @gray3/client.
  2. The app sends the wallet's public addresses to your backend.
  3. Your backend calls the Gray3 Cloud API (directly or through @gray3/cloud) for balances, history, prices, and unsigned transactions.
  4. The app signs transactions on the device and your backend broadcasts them.

Choose your platform

@gray3/client, @gray3/keystore, and @gray3/core run in Expo and bare React Native apps, Next.js and React (Vite) web apps, Node.js, and Chrome extensions. @gray3/cloud runs only on your server (Node.js 20 or later, Deno, Bun, or edge runtimes). Step-by-step setup for each is in Platforms.