skip to content
Quantek

Quantek Documentation

Overview

Quantek is a non-custodial Solana launch and liquidity operations platform for Meteora Dynamic Bonding Curve (DBC) pools that graduate into DAMM v2.

It pairs standard wallet-signed operations with a hash-based post-quantum identity layer (qtk1) used for attestations, proofs of possession and the Quantum Wallet design.

Every state change is reviewed, simulated and signed in your own wallet. Quantek never holds keys and never shows a success it did not observe on-chain.

Threat Model

Assumed adversary: a future attacker with a cryptographically relevant quantum computer able to forge Ed25519 signatures from public keys.

Quantek's identity layer relies only on SHA-256 preimage and collision resistance, which degrade quadratically (Grover) rather than break.

Out of scope: compromised browsers, malicious wallet extensions, and phishing of the derivation message. Only sign Quantek derivation messages on this app.

Cryptographic Primitives

Hash: SHA-256 (n = 32 bytes). Key expansion: HKDF-SHA256. Optional hardening: scrypt (N = 2^15, r = 8, p = 1).

All hashes are tweaked with a Quantek domain string, leaf index and chain position so outputs from one context can never be replayed in another.

WOTS-16

Winternitz One-Time Signatures with w = 16. A 32-byte digest splits into 64 base-16 digits plus a 3-digit checksum: 67 hash chains of length 15.

Signing digit d reveals the chain value after d steps; verifiers complete the remaining 15 − d steps. The checksum prevents an attacker from advancing any digit.

Each WOTS key may sign exactly one message. Signing twice leaks enough chain values to forge.

Merkle Identity

256 WOTS public keys are compressed into leaves of a Merkle tree of height 8. The root plus public seed is your identity.

A qtk1 address is a bech32-style encoding of a 20-byte hash of root and public seed, followed by a 6-hex checksum.

Proofs carry the leaf index, 67 chain values and an 8-node authentication path (2,404 bytes).

Derivation & Hardening

Your wallet signs a human-readable derivation message (not a transaction). SHA-256 of that signature, optionally passed through scrypt with your passphrase, feeds HKDF to produce a 32-byte secret seed and 32-byte public seed.

Seeds and the leaf tree live only in browser memory and are wiped on reload or on request. Re-derive with the same wallet (and passphrase) to recover the same identity.

Registration

Registration stores the public profile — address, root, public seed and linked wallet — in local storage. It contains no secrets and can be exported or shared.

Solana Anchor

Anchoring commits quantek:v1:identity:<qtk1>:<root> to Solana via the SPL Memo program, binding the identity to your wallet at a block height.

The memo transaction moves no funds; it passes through the same review → simulate → wallet sign → broadcast → confirm flow as every other action.

Standard Launch

A Standard Launch configures a Meteora DBC pool: asset metadata, curve (initial market cap, migration threshold, up to 20 ranges), fees (base, dynamic, collect mode), DAMM v2 migration split, quote market and optional bundled first buy.

DAMM v1 is deprecated and never offered. Live pool submission is not yet enabled in this build; the review step computes a deterministic config hash.

Quantum Launch

A Quantum Launch is a Standard Launch plus a Quantek Attestation Seal: the canonical config hash signed by one leaf of your qtk1 identity under quantek.network/launch/v1.

Anyone can verify the seal on /verify. No other signature scheme is claimed until it is implemented.

Signature Schemes

Implemented: WOTS-16 + Merkle(h=8) with SHA-256 (kind quantek-wots16-merkle-v1).

Not implemented: lattice schemes such as ML-DSA. They are not presented as available.

Proof of Possession

A possession proof signs quantek:v1:possession:<qtk1>:<root>:leaf=<i>:nonce=<random> under quantek.network/proof/v1.

The leaf is reserved in the one-time ledger before signing; consumed leaves can never be selected again.

Quantum Wallets

A Quantum Wallet is one program-owned vault PDA per qtk1 identity root (seeds "qvault" ‖ root). Authority rolls through the identity's one-time WOTS leaves: leaf 0 is reserved for identity registration, custody starts at leaf 1 and current_leaf only ever increases.

Vault state (Borsh): version u8, bump u8, root [u8;32], public_seed [u8;32], current_leaf u16 LE, spend_count u64 LE.

Instructions (native Borsh enum tags): 0 InitializeVault { root, public_seed }; 1 InitializeSpend { recipient, mint, amount u64, auth_path Vec<[u8;32]> }; 2 VerifyWotsChunk { start u8, signatures Vec<[u8;32]> } with 1–8 chains per call; 3 FinalizeProof; 4 WithdrawSol; 5 WithdrawToken. Mint all-zero = SOL.

Proof stage PDA: "qproof" ‖ vault ‖ current_leaf (u16 big-endian). InitializeSpend accounts: payer, vault, stage, System. VerifyWotsChunk / FinalizeProof: vault (read), stage. WithdrawSol: vault, stage, recipient, stage payer. WithdrawToken: vault, stage, vault-owned source token account, mint, destination token account, SPL Token or Token-2022 program, stage payer.

Spend digest: commitment = SHA-256("spend-v1" ‖ program id ‖ vault ‖ leaf u16 BE ‖ recipient ‖ mint ‖ amount u64 BE ‖ next leaf u16 BE); WOTS digest = SHA-256("quantek.network/quantum-wallet/v1" ‖ 0x00 ‖ commitment). The program rebuilds 67 chain endpoints (w=16, steps digit..15), the leaf hash and 8 Merkle levels with the Quantek proof domain, and requires the vault root.

Deposits: SOL is a normal System transfer to the vault PDA; tokens go to a token account owned by the vault PDA (created explicitly in review when missing). Withdrawals: read current_leaf, InitializeSpend, sign the digest with the current leaf, VerifyWotsChunk × 9, FinalizeProof, WithdrawSol/WithdrawToken, then confirm current_leaf advanced. Every step is reviewed, simulated and wallet-signed.

Quantum Wallet Deployment

1. Build the Quantek verifier/custody program from the quantum-wallet-program source in the Quantek repository.

2. Deploy to devnet first and set VITE_QUANTEK_QUANTUM_WALLET_CLUSTER=devnet for that environment.

3. Set VITE_QUANTEK_QUANTUM_WALLET_PROGRAM_ID to the deployed program id. The app never falls back to another program.

4. Open Quantum Wallets → Create. The app checks the RPC genesis hash matches the configured cluster and that the program account exists and is executable. Any mismatch fails closed.

5. Initialize the vault (InitializeVault with your identity root and public seed).

6. Run deposit and withdrawal tests for SOL, SPL Token and Token-2022, confirming current_leaf advances after each spend.

7. Deploy to mainnet only after an independent audit of the program.

Meteora DBC

Quantek uses the official Meteora Dynamic Bonding Curve SDK and program dbcij3LWUppWqq96dh6gJWwBifmcGfLSB5D4DuSMaqN. The SDK returns unsigned transactions; Quantek sets blockhash and fee payer, simulates, then asks your wallet to sign.

Graduated pools migrate to DAMM v2. External technical reference: docs.meteora.ag.

Tokenized Market Quotes

Pools may be quoted in SOL, USDC, or a tokenized stock/ETF. Quantek ships a snapshot of 61 xStocks mints; every quote mint must be verified against the active RPC (owner program and decimals) before use.

Custom RWA mints are allowed. Token-2022 mints with extensions require a Meteora tokenBadge before pool creation.

Tokenized assets represent only what the issuer's terms grant and may be restricted by jurisdiction.

Transaction Review Model

Review → Simulate → Wallet sign → Broadcast → Confirm. Simulation is always on. Mainnet actions require a second confirmation.

Explorer links appear only after a real signature exists.

Security Boundaries

No private key inputs. Secrets never persist. The leaf ledger persists only used indexes.

Strategy evaluation is a pure function; the agent prepares actions but never signs.

Reference cryptography is unaudited and labeled as such.

Parameters

w = 16 · n = 32 · chains = 67 · height = 8 · leaves = 256 · signature = 4 + 67·32 + 8·32 = 2,404 bytes.

Domains: quantek.network/identity/v1, quantek.network/launch/v1, quantek.network/proof/v1, quantek.network/quantum-wallet/v1.

Verification Examples

Open /verify and choose “load public example” to verify a launch attestation signed by a published demonstration key.

Paste a proof from /identity (possession) or a seal from /launch to verify it. The verifier recomputes 67 chains and 8 Merkle levels and compares the root.