QRDXDocs

Build on QRDX

How to read the chain, sign transactions and integrate the wallet, with examples you can run here.

A QRDX node speaks three protocols on one host, and they always agree because they read through the same views:

Use it forTestnet
JSON-RPCEthereum-compatible calls, and every QRDX read and writePOST https://test.qrdx.org/rpc
RESTthe same data over plain GETs, easy from any languagehttps://test.qrdx.org/get_…
Streamslive blocks, books, trades, tickers and accountswss://test.qrdx.org/ws, /stream (SSE)

Above the node:

  • QRDX Wallet signs for users: wallet integration and QRDX Connect.
  • The trade API (trade.qrdx.org/api/v1-test) adds pair orientation, USD prices, account summaries and PnL: trade API.
  • Profiles (trade.qrdx.org/api/profiles): verified names and images: profiles.

The examples on these pages run

Every code block with a Run button calls the network chosen in its header, from your browser: testnet by default, or a node on your machine. Edit the code and run it again; ⌘/Ctrl + Enter runs too.

JavaScript examples run in a sandbox (an iframe that cannot reach this page, its storage or its cookies) with these helpers in scope:

HelperDoes
rpc(method, ...params)JSON-RPC; returns result, throws on an RPC error
rest(path, query?)a node REST GET; returns result
trade(path)the trade API for the chosen network
pq.keygen(seed?)an ML-DSA-65 key pair with its address and accountId
pq.sign(message, secretKey, { raw? }), pq.verify(message, signature, publicKey, { raw? })QRDX-prefixed message signatures, or raw bytes (hex) with raw: true
pq.address(publicKey), pq.accountId(address)address and account-id derivation
hash.keccak256(x), hash.blake2b256(x)hashes of text or 0x hex
network{ node, rpc, ws, trade, explorer }
sleep(ms)a pause

fetch, WebSocket and console.table work as usual. Keys made here live only in the sandbox for that run.

JS
Read the chain head
output⌘/Ctrl + Enter to run
Edit the code and run it. It talks to testnet from your browser.

Where to start

Libraries

There is no official SDK yet. The examples use plain fetch and @noble/post-quantum for ML-DSA-65, the same library QRDX Wallet uses; any FIPS 204 implementation (liboqs, for example) produces compatible signatures.

On this page