Developers
Developer Resources and Integration Guides
Comprehensive tooling, software development kits, and technical documentation for integrating with the QuanChain protocol layer.
Integration Workflow
Code Examples
Rust
// Until the dedicated client SDK ships, integrate via JSON-RPC directly.
// Example: drip 100 testnet QCH to a fresh address.
use serde_json::json;
#[tokio::main]
async fn main() -> reqwest::Result<()> {
let client = reqwest::Client::new();
let res = client
.post("https://5-189-184-7.sslip.io")
.json(&json!({
"jsonrpc": "2.0",
"id": 1,
"method": "faucet_drip",
"params": ["QC5_YOUR_ADDRESS_HERE"],
}))
.send().await?
.json::<serde_json::Value>().await?;
println!("{:#}", res);
Ok(())
}JavaScript
// Plain fetch — the wallet popup itself is built on this exact pattern.
// See quanchain-wallet-extension/background/service-worker.js for the
// composite-signed parent registration + Merkle-proof SpendAndRotate flow.
async function faucetDrip(address) {
const res = await fetch('https://5-189-184-7.sslip.io', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
jsonrpc: '2.0',
id: 1,
method: 'faucet_drip',
params: [address],
}),
});
const data = await res.json();
if (data.error) throw new Error(data.error.message);
return data.result;
}
faucetDrip('QC5_YOUR_ADDRESS_HERE').then(console.log);Software Development Kits
Rust workspace
ActiveThe full chain in Rust: validator, RPC server, core types, crypto, storage, consensus. Treat the workspace crates as your SDK while the dedicated client SDKs are in development.
live
Validator binary
JSON-RPC server
TADEQS primitives
ml-dsa + slh-dsa via @noble/post-quantum-aligned crates
JSON-RPC
ActiveStandard JSON-RPC over plain HTTP. Any language can drive the chain today; use chain_getTransaction, faucet_drip, tx_prepareRotate, etc. The Chrome wallet itself is the largest live integration example.
live
No client library required
Round-robin all 4 validators
Faucet + explorer use the same endpoints
See Chrome wallet source for examples
JavaScript / TypeScript SDK
PlannedA first-class JS client packaging the wallet's flow into a reusable library. Today the wallet code under quanchain-wallet-extension/lib is the reference implementation.
planned
Browser & Node.js
Two-phase signed flow
Composite parent registration
Typed RPC bindings
Python SDK
PlannedPython implementation for scripting, data analysis, and research workflows
planned
Async/await
Data analysis
Jupyter support
CLI tools