Trade with
Consciousness
The first consciousness-aware DEX with karma-weighted fees, perpetual futures, and veQBIT governance
A Blockchain Built for Ethics-First DeFi
ThiChain is a quantum-safe Layer 1 blockchain where ethical principles are protocol-level primitives — not optional add-ons. QuantumDEX is its first native DeFi application.
Post-Quantum from Genesis
NIST ML-DSA (CRYSTALS-Dilithium) signatures built in from block zero — no migration debt.
Proof of Karma Consensus
Validators are ranked by on-chain ethical behaviour — uptime, dharmic scores, stake duration.
Consciousness-Aware VM
CAVM exposes karma, randomness, and dharmic validation as native precompiles for smart contracts.
Full-Stack DeFi
Everything you need to trade, earn, and govern — powered by ThiChain's consciousness-aware infrastructure.
Karma-Weighted AMM
Automated market maker with dynamic fees (0.25%-0.35%) based on your on-chain karma score. Higher karma means lower fees.
Core DEXPerpetual Futures
Trade with up to 20x leverage. Funding rate mechanism, keeper liquidation, and insurance fund protection.
Up to 20xCross-Chain Bridge
Transfer assets across chains with validator multi-sig security and daily volume limits. Karma-based fee discounts.
Multi-ChainTWAMM
Time-Weighted AMM for executing large orders over time, minimizing price impact with virtual order execution.
Large OrdersveQBIT Governance
Lock QBIT tokens for vote-escrowed governance power. Curve-style boost (1x-2.5x) and weekly fee distributions.
Earn & GovernFlash Loans
Single and multi-token flash loans at 9 bps. EIP-3156 compliant with reentrancy protection.
9 bps FeeBuilt to Last
Battle-tested across a 16-week DeFi sprint with comprehensive test coverage.
Consciousness-Aware Infrastructure
QuantumDEX leverages ThiChain's native precompiles for karma scoring, bot detection, and dharmic validation — capabilities no other chain offers.
ConsciousnessAI
0x0420AI-powered bot detection layer — activates on testnet launch. Detected bots will pay higher fees automatically.
KarmaOracle
0x0421Dynamic fee calculation based on on-chain karma score. Higher karma unlocks lower trading fees (0.25% at 100 karma).
QuantumRandom
0x0422Verifiable on-chain randomness for fair protocol operations and governance tie-breaking.
DharmicValidator
0x0423Dharmic validation safety layer that gates sensitive operations through ethical checks.
Security Architecture
Multiple Layers of Protection
Guardian Pause
Multi-sig controlled emergency pause on all core contracts via QuantumDEXProtocol.
Timelock
48-hour delay on critical parameter changes. Governance proposals require 8+ days end-to-end.
Bot Protection
ConsciousnessAI detects MEV bots on-chain and applies 50% fee penalties automatically.
Insurance Fund
Perpetual futures backed by insurance fund. RiskMonitor tracks OI imbalance and liquidity health.
Dharmic Validation Layers
A validation filter before every system operation — ensuring QUBISMIC technology operates with compassion through the 5 Yamas of Hindu-Buddhist ethics.
Ahimsa
Non-Harm
Filters algorithms designed for addiction, polarisation, or psychological harm. ConsciousnessAI scores every address to protect genuine users.
Satya
Truthfulness
Ensures data transparency and prevents deceptive AI-generated misinformation. All on-chain actions are verifiable and immutable.
Asteya
Non-Stealing
Protects intellectual property and user privacy from predatory data harvesting. KarmaOracle rewards honest actors with lower fees.
Brahmacharya
Ethical Energy
Optimises blockchain and AI processing to minimise environmental impact. Proof of Karma consensus is energy-efficient by design.
Aparigraha
Non-Possessiveness
Prevents monopolistic control through decentralised governance. veQBIT holders collectively steer protocol parameters — no single authority.
The QUBISMIC Ecosystem
QUBISMIC embeds the Fivefold Dharmic Path directly into ThiChain's consensus layer, smart contracts, and AI inference stack — making ethical validation a first-class on-chain primitive, not an afterthought.
Ethical Crisis Identification
Transaction enters the mempool and is flagged for dharmic validation.
Dharmic Layer Integration
DharmicValidator (0x0423) scores the operation against all 5 Yamas.
Karma Adjustment
KarmaOracle (0x0421) adjusts fees dynamically based on the actor's karma score.
Compassionate Output
Only ethically-validated transactions proceed — harmful operations are rejected or penalised.
Experience Compassionate AI
Ask the Dharmic Consultant about ethical engineering, or generate a vision of compassionate technology.
Dharmic Consultant
Powered by Claude · QUBISMIC context
Greetings. I am the QUBISMIC Dharmic Consultant — your guide to ethical infrastructure built on Eastern wisdom.
Ask me how the 5 Yamas are embedded into ThiChain, or how karma scores shape your trading experience.
Ethical Visualizer
Manifest concepts of compassionate technology
Your ethical vision will appear here after dharmic validation.
Developer Toolkit
Everything you need to integrate QuantumDEX into your application. SDK, React hooks, subgraph, and comprehensive API documentation.
@qubismic/quantum-dex-sdk
TypeScript SDK with 11 contract wrappers, utility functions, and full type safety.
@qubismic/quantum-dex-react
React hooks built on wagmi v2 and viem for seamless frontend integration.
Subgraph (The Graph)
Full protocol indexing with 12 data sources, 45 entities, and cross-protocol aggregation.
API Reference (NatSpec)
Auto-generated Solidity documentation from NatSpec comments across all contracts.
npm install @qubismic/quantum-dex-sdk ethers
import { QuantumRouter } from '@qubismic/quantum-dex-sdk';
const router = new QuantumRouter({ chainId: 420420, provider, signer });
const quote = await router.getSwapQuote({
tokenIn, tokenOut, amountIn, slippageBps: 50
});The Qubismic Fortress
Security is not a product, but a process. We have built a fortress that doesn't just survive the future — it defines it.
Defending the Future
CRYSTALS-Dilithium (NIST ML-DSA) lattice-based signatures are integrated into the bridge, ready to protect transactions against quantum adversaries when activated.
CRYSTALS-Dilithium Level 2
NIST ML-DSA Standard | Bridge Security Layer
Security
NIST Level 2
Signature
2,420 bytes
Public Key
1,312 bytes
Hardness
M-LWE
ECDSA_ONLYClassical Security
Full backward compatibility with standard ECDSA signatures. All existing infrastructure operates unchanged.
HYBRIDDual Verification
Every validator submits both ECDSA + Dilithium signatures. Both must verify. 7-day mandatory observation period.
PQ_ONLYQuantum-Safe
Only lattice-based Dilithium signatures required. Full quantum resistance achieved.
Dual Verification Path
Primary
ThiChain Precompile
Target ~50K gas | Native speed
Fallback
Solidity Verifier
~2M gas | EVM portable
Resilient Cross-Chain Architecture
Security-first bridge connecting 6 networks with chain-specific adapters, per-chain fee optimization, and relayer reward incentives.
Ethereum
1
Arbitrum
42161
Optimism
10
Base
8453
Polygon
137
ThiChain
420420
Chain Adapters
Specialized adapters per chain type: generic EVM for L1s, L2-specific adapters with challenge period awareness, and OP Stack Bedrock support.
Cross-Chain Integrity
Unique deposit hashes prevent double-spending. Per-chain nonces enforce ordering. Daily volume limits cap maximum exposure.
Relayer Incentives
QBIT token rewards for each successful relay. Guardian-managed relayer registration with open vault funding by any participant.
5 Independent Security Layers
Post-Quantum Signatures
CRYSTALS-Dilithium (NIST ML-DSA) lattice-based cryptography integrated at the bridge layer with Solidity fallback. Roadmap: native precompile on testnet.
Validator Multi-Sig
Threshold-based consensus with ascending-order enforcement. Replay protection via unique deposit hashes.
Guardian Pause + Timelock
Immediate emergency pause on all contracts. 48-hour timelock on critical changes. Two-step admin transfer.
ConsciousnessAI Defense
On-chain bot detection at 0x0420. MEV bots pay 50% higher fees. Karma-based discounts for legitimate users.
Economic Security
Relayer QBIT rewards for honest operation. Insurance fund for perps. Daily bridge volume limits per token.
1,556 Automated Tests
Every contract, hook, and SDK function is rigorously tested with adversarial attack simulations and comprehensive edge-case coverage.
1,172
Smart Contract Tests
Solidity + Hardhat
227
SDK Tests
TypeScript Vitest
157
React Hook Tests
Component Vitest
40+
Attack Simulations
Adversarial Scenarios
Attack Simulations
- Flash loan price manipulation & reentrancy
- Bridge replay & double-spend attacks
- Oracle manipulation (single & multi-block)
- Governance flash-vote & treasury drain
- Funding rate extraction & cycling
- PQ signature forgery & mode bypass
- Cross-chain integrity violations
Modular Upgradability
- Transparent Proxy + ProxyAdmin pattern
- Timelock-controlled upgrades (48h delay)
- Zero-downtime chain adapter additions
- PQ scheme extensibility (5 algorithms)
- Batch pause across all contracts
- Two-step guardian transfer (propose + accept)
- Emergency rollback capability
Frequently Asked Questions
Common questions about the QuantumDEX protocol.
Have more questions? We're here to help.
Contact us for more informationBe First to Trade with Consciousness
Join the waitlist for the first DeFi protocol that rewards good behaviour. Lower fees for higher karma, built-in MEV protection, and governance that listens to the community.
Open source · MIT licensed · 1,556 tests passing · Audit pending