What is ONYX
ONYX is a layer-1 blockchain where no elliptic-curve cryptography is used anywhere. Blocks, validator attestations and user transactions are all signed with ML-DSA, the lattice-based digital signature standard NIST published as FIPS 204 in August 2024. Hashing is SHA3-256.
The testnet (onyx-testnet-1) is live: blocks every 4 seconds, a public explorer, a browser wallet and a faucet.
Why quantum resistance
Bitcoin and Ethereum sign with ECDSA/Schnorr over secp256k1; Solana and NEAR use Ed25519. All of them rest on the elliptic-curve discrete-log problem, which Shor's algorithm solves efficiently on a large fault-tolerant quantum computer. Once a public key is visible on-chain, such a machine could derive the private key.
Signed data recorded today stays on-chain forever, so the risk is "harvest now, break later". Moving to post-quantum signatures has to happen before that hardware exists.
Cryptography
| Use | Scheme | Public key | Signature | NIST level |
|---|---|---|---|---|
| User transactions | ML-DSA-44 | 1,312 B | 2,420 B | 2 |
| Blocks & attestations | ML-DSA-65 | 1,952 B | 3,309 B | 3 |
| Hashes, addresses, tx root | SHA3-256 | — | — | — |
ML-DSA's security rests on the Module-LWE and Module-SIS lattice problems, for which no efficient quantum algorithm is known. Node signatures use the platform's native FIPS 204 implementation; browser wallets use the audited open-source @noble/post-quantum library. Both produce standard-encoded keys and signatures, so a wallet signature is verified natively by the node.
Consensus
Four genesis validators (Kyber, Dilithium, Falcon, Sphincs) each hold an ML-DSA-65 key, and the set is open: anyone can stake 500 tONYX and run onyx-node.js to join (see Validators). Proposers rotate round-robin across every online validator each 4-second slot. The pending header is published at /api/pending; nodes recompute its SHA3-256 hash and sign it with ML-DSA-65 within 2.6 s. A community proposer that misses its slot is skipped and a genesis validator fills it.
header = { height, prev, time, txRoot, proposer, txCount }
hash = SHA3-256(canonical(header))
block = header + ML-DSA-65 proposer sig + attestations
final ⇔ proposer sig valid AND ≥ 2 of 3 attestations valid
Every signature is verified before the block is appended; a block that fails is dropped and its transactions return to the mempool. The proposer earns a 2 tONYX block reward plus all fees; each included attestation earns 0.25 tONYX.
Transactions
body = canonical({ amount, chain:"onyx-testnet-1", fee, from, nonce, to })
sig = ML-DSA-44.sign(sk, body)
tx = body + pub (1,312 B) + sig (2,420 B)
- The node checks that SHA3-256(pub) matches the from address, then verifies the signature against the body.
- The nonce must equal the account's next nonce, which stops replays.
- The chain field binds the signature to this network.
- Network fee: 0.001 tONYX.
Wallet
The wallet at /wallet generates a 32-byte random seed with the browser's secure RNG and derives an ML-DSA-44 keypair from it. The seed is stored only in this browser; back it up with Reveal seed. Addresses look like:
onx1 + first 20 bytes of SHA3-256(public key) → onx1c0ffee…
The faucet credits 1,000 tONYX per address per hour.
Node API
GET /api/stats chain stats, validators, algorithms
GET /api/blocks?n=20 latest blocks
GET /api/block/:height|hash full block incl. every signature
GET /api/tx/:hash transaction
GET /api/account/:onx1… balance, nonce, history
POST /api/tx submit signed transaction
POST /api/faucet { address }
GET /api/live server-sent events, one per block
$ONYX
$ONYX is the ONYX community token, launching on Solana. The contract address is shown on the front page with a copy button. When mainnet goes live, $ONYX holders migrate 1:1 to native ONYX via a snapshot. tONYX is the testnet gas asset; it is separate from $ONYX.
FAQ
Real. ML-DSA is a published NIST standard and every signature on this network is one. Open any block in the explorer to see the full ML-DSA-65 signatures and their byte sizes.
Lattice signatures trade size for quantum security: 2,420 bytes versus 64 for Ed25519. ONYX is designed around that size from the start.
No. Keys are generated and used in your browser. The node only receives your public key and signature.
No. This is onyx-testnet-1, and tONYX is its gas asset.
ML-DSA is NIST's primary general-purpose signature standard, with fast signing and verification. SLH-DSA (SPHINCS+) signatures are larger and slower; Falcon needs delicate floating-point sampling.