Documentation Tutorials Whitepaper Explorer Features Tech Stack GitHub →
DEVNET LIVE — OPEN SOURCE

Blockchain infrastructure
for the post-quantum era.

A Layer 1 protocol written from scratch in Rust with NIST-standardized post-quantum cryptography, BFT consensus, WASM smart contracts, and an EIP-1559 fee market. Every line of code is original. Every claim is verifiable.

terminal
$ cargo test -j1 2>&1 | tail -3
test result: ok. 79 passed; 0 failed; 0 ignored
$ curs3d wallet --output validator.json
=== CURS3D Wallet Created ===
Address: CUR7f3a1b...9c2d
Keys: CRYSTALS-Dilithium Level 5 (AES-256-GCM encrypted)
$ curs3d node --validator-wallet validator.json
Chain ID: curs3d-devnet
P2P: 0.0.0.0:4337 (Gossipsub + mDNS)
HTTP API: http://127.0.0.1:8080
RPC: 127.0.0.1:9545
Producing blocks every 10s. Press Ctrl+C to stop.
$ |
Dilithium 5 NIST FIPS 204
SHA-3 Keccak-256
BFT 2/3 Finality threshold
WASM Smart contracts
79/79 Tests passing
MIT Open source

A complete protocol stack,
built from zero

9 modules. No fork of Ethereum, Cosmos, or Substrate. Every component is purpose-built for post-quantum security.

Application Layer
REST API (hyper 1.x) + TCP RPC + CLI (clap 4)
Execution
Wasmer 5 WASM VM
Fee Market
EIP-1559 Dynamic
Smart Contracts
Deploy + Call + Gas
Consensus
BFT PoS + Epochs
Fork Choice
Heaviest Chain
Finality
2/3 Stake Votes
Networking
libp2p Gossipsub
State Sync
Merkle Snapshots
Security
Slashing + Jail
Cryptographic Foundation
CRYSTALS-Dilithium 5 + SHA-3 Keccak-256 + AES-256-GCM + Argon2
Persistence
sled DB (blocks, accounts, contracts, receipts, epochs, snapshots) — Schema v4

What's already built and tested

Every feature listed below exists in the codebase today. No roadmap promises — this is what the code does right now.

Post-Quantum Signatures

CRYSTALS-Dilithium Level 5 (NIST FIPS 204) for block and transaction signatures. Future-proof against Shor's algorithm. Tested with 5 crypto unit tests.

WASM Smart Contracts

Wasmer 5 with Cranelift backend. Per-instruction fuel metering via middleware injection. 11 host functions for storage, logs, and input. Tested with 8 VM unit tests.

BFT Finality

Signed FinalityVotes accumulated per block. Finality triggers at 2/3 of total staked amount. Epoch-frozen validator sets prevent mid-epoch manipulation. 8 consensus tests.

EIP-1559 Fee Market

Dynamic base_fee_per_gas adjusts each block toward 50% gas target. Separate max_fee and priority_fee. Base fee burned, priority fee to proposer. Gas refunds on unused allocation.

Fork Choice + Reorgs

BlockTree tracks all known blocks including forks. Heaviest-chain rule by cumulative proposer stake. Automatic reorg with finality boundary. Non-canonical pruning. 5 blocktree tests.

×

Provable Slashing

EquivocationEvidence carries two signed block headers at the same height. Cryptographically verified before penalty. 33% stake slash + 64-block jail. Evidence persisted to disk.

State Sync

Full snapshot with bincode-serialized state, chunked at 256KB. Each chunk Merkle-proved against manifest root. Snapshot preferably based on finalized height. Network protocol included.

Protocol Governance

Protocol version in every block header. Upgrade activation at configured height. Network topic derived from chain_id + version. Incompatible peers automatically filtered.

Where we are today

Full transparency. Here's what's built and what remains before mainnet. No hand-waving.

Implemented & Tested

  • BFT PoS consensus with 2/3 finality
  • CRYSTALS-Dilithium 5 + SHA-3
  • WASM VM with instruction metering
  • EIP-1559 dynamic fee market
  • Fork choice + finality boundary
  • Provable slashing with evidence
  • State sync with Merkle proofs
  • Epoch snapshots + validator rotation
  • Encrypted wallets (AES-256-GCM)
  • REST API + RPC + CLI
  • Persistent storage (sled, schema v4)
  • Protocol versioning + upgrades
  • Docker + CI/CD pipeline
  • 79 tests passing across 9 modules

Remaining for Mainnet

  • External security audit (consensus, VM, crypto)
  • Peer scoring + anti-spam hardening
  • State trie (MPT or Verkle tree)
  • Indexed receipts + log filters
  • Prometheus metrics + structured logs
  • Epoch-based rewards + inactivity leak
  • Fuzzing + long-run soak tests
  • Contract SDK (Rust + AssemblyScript)
  • Light client protocol
  • Benchmarks (sync, mempool, VM)

WASM contracts with real gas metering

Not simulated. The VM compiles WebAssembly with Cranelift, injects fuel counters via middleware, and charges per-instruction. Contracts with unmetered loops are rejected at deploy time.

Gas Schedule (from vm/gas.rs)

OperationGas
Base Transaction21,000
Contract Deploy32,000
Contract Call2,600
Storage Read200
Storage Write5,000
Log Emit375
Per Byte16
Host Call Overhead40
WASM Loop Tick50

6 Transaction Types

Transfer Stake Unstake DeployContract CallContract Coinbase

Block gas limit: 10,000,000. Receipts include gas_used, effective_gas_price, priority_fee_paid, base_fee_burned, gas_refunded, logs[], and return_data.

counter.wat
;; Counter contract — real CURS3D WASM
;; Imports the host functions, increments
;; a value in storage, emits a log event.

(module
  (import "curs3d" "storage_get"
    (func $get (param i64) (result i64)))
  (import "curs3d" "storage_set"
    (func $set (param i64 i64)))
  (import "curs3d" "emit_log"
    (func $log (param i64 i64)))
  (import "curs3d" "consume_gas"
    (func $gas (param i64)))

  (memory (export "memory") 1)

  (func (export "curs3d_call")
        (result i64)
    (local $v i64)
    ;; read slot 0
    (local.set $v
      (call $get (i64.const 0)))
    ;; increment
    (local.set $v
      (i64.add (local.get $v)
              (i64.const 1)))
    ;; write back
    (call $set
      (i64.const 0) (local.get $v))
    ;; emit event
    (call $log
      (i64.const 1) (local.get $v))
    (local.get $v))
)

11 endpoints. JSON in, JSON out.

HTTP REST on port 8080 with configurable CORS, optional bearer token auth, 1MB body limit, and 128 max concurrent connections. TCP RPC on port 9545 for CLI.

GET/api/statusHeight, finalized, epoch, validators, protocol version
GET/api/block/:heightBlock with transactions, state root, merkle root
GET/api/blocks?from&limitPaginated blocks (limit max 100)
GET/api/account/:addrBalance, nonce, staked balance
GET/api/account/:addr/proofMerkle proof with leaf index + state root
GET/api/tx/:hashTransaction by hash
GET/api/pendingMempool pending transactions
GET/api/validatorsActive validator set with stakes
POST/api/tx/submitSubmit signed transaction
POST/api/tx/estimateDry-run: gas, fees, replacement check

The full stack, end to end

LanguageRust 2024
VMWasmer 5
SignaturesDilithium 5
HashingSHA-3 Keccak
ConsensusBFT PoS
Epochs32 blocks
Gas Limit10,000,000
P2Plibp2p 0.54
Pub/SubGossipsub
DiscoverymDNS + Boot
Storagesled (v4)
WalletAES-256-GCM
KDFArgon2
HTTPhyper 1.x
Encodingbincode + JSON
RuntimeTokio
crypto/dilithium.rs
use pqcrypto_dilithium::dilithium5::{
    DetachedSignature, PublicKey,
    SecretKey, detached_sign,
    keypair, verify_detached_signature,
};

pub struct KeyPair {
    pub public_key: Vec<u8>,
    pub secret_key: Vec<u8>,
}

impl KeyPair {
    pub fn generate() -> Self {
        let (pk, sk) = keypair();
        KeyPair {
            public_key: pk.as_bytes().to_vec(),
            secret_key: sk.as_bytes().to_vec(),
        }
    }

    pub fn sign(&self, msg: &[u8])
    -> Signature {
        let sk = SecretKey::from_bytes(
            &self.secret_key
        ).expect("invalid key");
        Signature(
          detached_sign(msg, &sk)
            .as_bytes().to_vec()
        )
    }
}

Transparent, configurable tokenomics

All parameters are set in genesis.json and verifiable on-chain. 1 CUR = 1,000,000 microtokens.

50CUR per Block
1,000CUR Min Stake
33%Slash Penalty
10sBlock Time

From prototype to mainnet

Q1-Q2 2026 — Complete

Core Protocol + Smart Contracts

Full L1 protocol with BFT consensus, WASM VM, EIP-1559 fees, state sync, epoch management, provable slashing, encrypted wallets, REST API, block explorer, Docker, CI/CD. 79 tests across 9 modules.

Q3 2026 — In Progress

Hardening + Developer Tools

Contract SDK (Rust + AssemblyScript). Public testnet with faucet. Indexed receipts and log filters. Observability stack (Prometheus, structured logs). Peer scoring and anti-spam.

Q4 2026

Security Audit + Mainnet

External audit of consensus, VM, and cryptography. State trie upgrade (MPT or Verkle). Fuzzing and soak tests. Mainnet genesis with community validator onboarding.

2027+

Ecosystem

Cross-chain bridges, on-chain governance, token standards (CUR-20, CUR-721), DeFi primitives, light client protocol, community grants.

Ship-ready from day one

Docker Multi-Stage Build

docker-compose spins up a 2-node network in seconds. Minimal image. Reproducible builds. All ports exposed (P2P 4337, HTTP 8080, RPC 9545).

CI/CD GitHub Actions

Every push runs: cargo check, cargo test (79/79), cargo clippy (zero warnings), cargo fmt --check. Merge blocked on failure.

Storage Persistent + Versioned

sled embedded DB with 10 trees, schema v4, auto-migration from earlier versions. Full state rebuild on restart from canonical chain.

Verify everything yourself.

Every claim on this page maps to code in the repository. Clone it, build it, run the tests, read the source.