Install (when published)
Package name is TBD;
@tachyon/sdk is a placeholder. The package will ship from the tachyonpe GitHub organization.Initialize
| Option | Required | Description |
|---|---|---|
network | ✓ | "testnet" or "mainnet" |
endpoint | Override the default relayer base URL (https://relayer.tachyon.pe). Useful for self-hosted or local development. |
Verify your setup
GET /health on the relayer (API ref).
Browser usage
Environments
| Environment | Notes |
|---|---|
| Node.js 18+ | Native fetch, WASM, ESM and CJS supported |
| Browsers (modern evergreen) | Chrome, Edge, Firefox, Safari |
| React Native | Planned. Use the Relayer HTTP API directly from RN today, standard fetch works. |
| Edge runtimes (Cloudflare Workers, Vercel Edge) | Planned. Use the Relayer HTTP API directly, standard fetch works. |
Testnet vs mainnet
Configuration switches by changingnetwork. Endpoints, supported chains, and rate limits differ between the two. See supported chains and rate limits.
Using the API directly today
If you want to integrate before the SDK ships, hit the relayer endpoints directly. Example: list a recipient’s stealth addresses.Authenticate users
Register users and manage stealth identities.