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

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

Realm uses gRPC (not REST + WebSocket). Web clients connect via gRPC-Web through our Envoy proxy. This provides type-safe, bidirectional streaming with 10x less latency than traditional APIs.

Quick Start

Install the SDK and start trading in minutes:

Terminalbash
npm install @empyrealm/sdk
example.tstypescript
import { RealmClient, RealmWallet } from '@empyrealm/sdk';
// Create client and wallet
const client = new RealmClient('https://api.realm.software');
const wallet = await RealmWallet.generate();
// Connect (authenticates all requests)
await client.connect(wallet);
// Get your balance
const balance = await client.getBalance();
console.log('Balance:', balance);
// Place an order
const order = await client.placeOrder({
market: 'RLM-PERP',
side: 'buy',
type: 'limit',
price: 100.00,
size: 1.0,
});

Networks

NetworkAPI EndpointStatus
Mainnethttps://api.realm.software✅ Live

Ecosystem

ComponentURLDescription
Exchangeexchange.realm.softwareTrading UI
Landingrealm.softwareMarketing site
GitHubComing soonSource 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).

CategoryEndpointsAuth
PublicPing, GetChainInfo, GetMarkets, GetOrderbook, GetTrades, GetFundingRate, GetMarkPrice
AccountGetBalance, GetAccountSummary, GetOpenOrders, GetOrder, GetOrderHistory, GetPositions, GetFills, GetFundingHistory, GetConditionalOrders, GetPortfolioMargin
TradingPlaceOrder, AmendOrder, CancelOrder, CancelAll, CancelConditionalOrder, BatchOrders, Transfer, Deposit, Withdraw
StreamingSubscribe, TradingStream
FaucetClaimFaucet