Developer Documentation
Build on Realm
The most secure, fastest DeFi blockchain ever created. GPU-native, post-quantum, 25ms finality. One unified gRPC API to rule them all.
56K
TPS
25ms
Finality
1.26M
Sig/sec
100%
Quantum-Safe
Quick Start
Get up and running in under 5 minutes
API Reference
Complete gRPC API documentation
TypeScript SDK
Full SDK with 100% API coverage
Security
Post-quantum cryptography explained
Overview
Realm is a next-generation blockchain built from the ground up for high-frequency perpetual trading. Unlike existing chains that retrofit DeFi onto general-purpose platforms, Realm is purpose-built with:
- Post-quantum cryptography — Dilithium-3 (ML-DSA-65) signatures protect your assets against quantum computers
- GPU-native execution — 1.26M signature verifications per second using CUDA-accelerated batch verification
- Sub-25ms finality — Mysticeti BFT consensus with deterministic ordering
- Unified gRPC API — 29 endpoints covering all trading operations, one protocol for everything
API Protocol
Quick Start
Install the SDK and start trading in minutes:
npm install @empyrealm/sdk
import { RealmClient, RealmWallet } from '@empyrealm/sdk';// Create client and walletconst client = new RealmClient('https://api.realm.software');const wallet = await RealmWallet.generate();// Connect (authenticates all requests)await client.connect(wallet);// Get your balanceconst balance = await client.getBalance();console.log('Balance:', balance);// Place an orderconst order = await client.placeOrder({market: 'RLM-PERP',side: 'buy',type: 'limit',price: 100.00,size: 1.0,});
Networks
| Network | API Endpoint | Status |
|---|---|---|
| Mainnet | https://api.realm.software | ✅ Live |
Ecosystem
| Component | URL | Description |
|---|---|---|
| Exchange | exchange.realm.software | Trading UI |
| Landing | realm.software | Marketing site |
| GitHub | Coming soon | Source code |
API Overview
The Realm API is organized into logical categories. All endpoints use Protocol Buffers for serialization and require Dilithium-3 signatures for authentication (no API keys).
| Category | Endpoints | Auth |
|---|---|---|
| Public | Ping, GetChainInfo, GetMarkets, GetOrderbook, GetTrades, GetFundingRate, GetMarkPrice | ❌ |
| Account | GetBalance, GetAccountSummary, GetOpenOrders, GetOrder, GetOrderHistory, GetPositions, GetFills, GetFundingHistory, GetConditionalOrders, GetPortfolioMargin | ✅ |
| Trading | PlaceOrder, AmendOrder, CancelOrder, CancelAll, CancelConditionalOrder, BatchOrders, Transfer, Deposit, Withdraw | ✅ |
| Streaming | Subscribe, TradingStream | ✅ |
| Faucet | ClaimFaucet | ✅ |