RougeChain Documentation

Welcome to RougeChain — a post-quantum secure Layer 1 blockchain built with real NIST-approved cryptography.

What is RougeChain?

RougeChain is among the first blockchains designed from the ground up to be resistant to quantum computer attacks. It uses:

  • ML-DSA-65 (CRYSTALS-Dilithium) for digital signatures
  • ML-KEM-768 (CRYSTALS-Kyber) for key encapsulation
  • SHA-256 for hashing

All cryptographic primitives are NIST FIPS 204/203 compliant.

Key Features

FeatureDescription
Post-Quantum SecurityProtected against both classical and quantum attacks
Client-Side SigningPrivate keys never leave your browser
AMM/DEXUniswap V2-style liquidity pools and token swaps
Token BurningOfficial burn address with on-chain tracking
Proof of StakeEnergy-efficient consensus with validator staking
P2P NetworkDecentralized peer-to-peer block and transaction propagation
qETH BridgeBridge ETH from Base Sepolia to qETH on RougeChain
Custom TokensCreate your own tokens on the network
RC-721 NFTsNFT collections with royalties, batch minting, and freezing
Encrypted MessengerE2E encrypted messaging with PQC, media support, self-destruct
PQC MailEncrypted email with @rouge.quant addresses and threading
Browser ExtensionsChrome/Firefox wallet extensions with vault lock
PWA SupportInstallable progressive web app for mobile and desktop
Social LayerPosts, timeline, reposts, likes, follows, comments, tips
CLI WalletCommand-line wallet with full chain access and social commands
SDK@rougechain/sdk v1.0.0 npm package for building dApps
EIP-1559 Dynamic FeesBase fee auto-adjusts per block, fee burning for deflationary pressure
Token Mint AuthorityOngoing minting for custom tokens with supply cap enforcement
Validator SlashingSlash penalties for misbehavior, unbonding queue with 500-block delay
BFT Finality ProofsSerializable quorum certificates with ≥2/3 validator stake
WebSocket SubscriptionsTopic-based real-time event streaming (blocks, txs, accounts, tokens)
HD Wallet DerivationBIP-44-like PQC key derivation from master seed (HMAC-SHA256)
Open SourceApache 2.0 licensed node software

Network Info

NetworkAPI Endpoint
Testnethttps://testnet.rougechain.io/api
Devnet (local)http://127.0.0.1:5100/api

Tokens

XRGE

XRGE is the native token that powers transactions, secures the network through staking, and fuels the post-quantum economy.

RoleHow it works
Gas TokenEvery transaction pays fees in XRGE. Fees go to the block proposer.
Staking PrimitiveValidators must stake XRGE to propose blocks. More stake = more proposals = more rewards.
DeFi Base PairAMM liquidity pools trade against XRGE. It's the default quote currency on the built-in DEX.
Bridge AssetXRGE exists on both RougeChain (native) and Base (ERC-20) via the cross-chain bridge.

qETH

qETH is a bridged representation of ETH on RougeChain. It uses 6 decimal places and can be bridged in from Base Sepolia or withdrawn back.

PropertyValue
Decimals6
Bridge SourceBase Sepolia
Bridge ContractConfigured per-node via --bridge-custody-address

Fees

ActionFee
Transfer~0.1 XRGE (base fee, adjusts per block)
Token Creation100 XRGE
Pool Creation10 XRGE
Swap0.3% (to LPs)
Minimum Stake10,000 XRGE
Unbonding Period500 blocks

EIP-1559 Fee Model: The base fee adjusts ±12.5% per block based on transaction volume (target: 10 txs/block). The base fee portion is burned, and only the priority tip goes to validators. Check current fees via GET /api/fee.

Burn Address

Tokens can be permanently burned by sending to the official burn address:

XRGE_BURN_0x000000000000000000000000000000000000000000000000000000000000DEAD

Burned tokens are tracked on-chain and can be queried via the /api/burned endpoint.

Security

Client-Side Signing

RougeChain uses a secure v2 API where all transactions are signed client-side:

  1. Your wallet creates a transaction payload
  2. The payload is signed locally using ML-DSA-65
  3. Only the signature and public key are sent to the server
  4. Your private key never leaves your browser

This ensures maximum security even when interacting with untrusted nodes.