Karma-Powered DeFi on ThiChain

Trade with
Consciousness

The first consciousness-aware DEX with karma-weighted fees, perpetual futures, and veQBIT governance

QuantumDEX · ThiChain TestnetDemo
SWAPKarma Score: 87 · Fee: 0.27%
You pay
1,000
QBIT
You receive
2,847.3
USDC
ConsciousnessAI: Human ✓DharmicValidator: Passed ✓
Swap · Dharmic Validated
Karma-Weighted Fees
0.25%-0.35% based on your karma score
Bot Protection
ConsciousnessAI detects and penalizes MEV bots
1,556 Tests Passing
22+ contracts, audit-ready architecture
What is ThiChain?

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.

Protocol Suite

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 DEX

Perpetual Futures

Trade with up to 20x leverage. Funding rate mechanism, keeper liquidation, and insurance fund protection.

Up to 20x

Cross-Chain Bridge

Transfer assets across chains with validator multi-sig security and daily volume limits. Karma-based fee discounts.

Multi-Chain

TWAMM

Time-Weighted AMM for executing large orders over time, minimizing price impact with virtual order execution.

Large Orders

veQBIT Governance

Lock QBIT tokens for vote-escrowed governance power. Curve-style boost (1x-2.5x) and weekly fee distributions.

Earn & Govern

Flash Loans

Single and multi-token flash loans at 9 bps. EIP-3156 compliant with reentrancy protection.

9 bps Fee
Protocol Stats

Built to Last

Battle-tested across a 16-week DeFi sprint with comprehensive test coverage.

22+
Smart Contracts
Core, governance, security, and bridge
1,556
Tests Passing
Solidity + SDK + React, 0 failures
45
Subgraph Entities
12 data sources + 1 template
4
ThiChain Precompiles
KarmaOracle, ConsciousnessAI, and more
ThiChain Native

Consciousness-Aware Infrastructure

QuantumDEX leverages ThiChain's native precompiles for karma scoring, bot detection, and dharmic validation — capabilities no other chain offers.

ConsciousnessAI

0x0420

AI-powered bot detection layer — activates on testnet launch. Detected bots will pay higher fees automatically.

KarmaOracle

0x0421

Dynamic fee calculation based on on-chain karma score. Higher karma unlocks lower trading fees (0.25% at 100 karma).

QuantumRandom

0x0422

Verifiable on-chain randomness for fair protocol operations and governance tie-breaking.

DharmicValidator

0x0423

Dharmic validation safety layer that gates sensitive operations through ethical checks.

Security Architecture

Multiple Layers of Protection

01

Guardian Pause

Multi-sig controlled emergency pause on all core contracts via QuantumDEXProtocol.

02

Timelock

48-hour delay on critical parameter changes. Governance proposals require 8+ days end-to-end.

03

Bot Protection

ConsciousnessAI detects MEV bots on-chain and applies 50% fee penalties automatically.

04

Insurance Fund

Perpetual futures backed by insurance fund. RiskMonitor tracks OI imbalance and liquidity health.

Eastern Wisdom • Western Innovation

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.

Live Implementation

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.

TransparentEthicalSustainableQuantum-Safe
Ask the Dharmic Consultant
01

Ethical Crisis Identification

Transaction enters the mempool and is flagged for dharmic validation.

02

Dharmic Layer Integration

DharmicValidator (0x0423) scores the operation against all 5 Yamas.

03

Karma Adjustment

KarmaOracle (0x0421) adjusts fees dynamically based on the actor's karma score.

04

Compassionate Output

Only ethically-validated transactions proceed — harmful operations are rejected or penalised.

Live Dharmic Tools

Experience Compassionate AI

Ask the Dharmic Consultant about ethical engineering, or generate a vision of compassionate technology.

Dharmic Consultant

Powered by Claude · QUBISMIC context

Online

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.

Compassion-First·Ethical Filter Active

Ethical Visualizer

Manifest concepts of compassionate technology

Your ethical vision will appear here after dharmic validation.

Build on QuantumDEX

Developer Toolkit

Everything you need to integrate QuantumDEX into your application. SDK, React hooks, subgraph, and comprehensive API documentation.

227 tests

@qubismic/quantum-dex-sdk

TypeScript SDK with 11 contract wrappers, utility functions, and full type safety.

+ Swap & Liquidity
+ Staking & Governance
+ Flash Loans & Bridge
+ Analytics & Risk
157 tests

@qubismic/quantum-dex-react

React hooks built on wagmi v2 and viem for seamless frontend integration.

+ useSwap & useLiquidity
+ useStaking & useGovernance
+ useBridge & useTWAMM
+ useRiskMonitor
12 data sources

Subgraph (The Graph)

Full protocol indexing with 12 data sources, 45 entities, and cross-protocol aggregation.

+ Pair & Token analytics
+ User positions & history
+ Perps & Limit Orders
+ ProtocolDayData
59 docs

API Reference (NatSpec)

Auto-generated Solidity documentation from NatSpec comments across all contracts.

+ Core contracts
+ Governance contracts
+ Security contracts
+ Library functions
Quick Start
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.

Post-Quantum 6 Chains 1,556 Tests 5 Security Layers External Audit Scheduled
Post-Quantum Cryptography

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

01Active
ECDSA_ONLY

Classical Security

Full backward compatibility with standard ECDSA signatures. All existing infrastructure operates unchanged.

02Ready
HYBRID

Dual Verification

Every validator submits both ECDSA + Dilithium signatures. Both must verify. 7-day mandatory observation period.

03Ready
PQ_ONLY

Quantum-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

Multi-Chain Bridge

Resilient Cross-Chain Architecture

Security-first bridge connecting 6 networks with chain-specific adapters, per-chain fee optimization, and relayer reward incentives.

E

Ethereum

1

12 conf
A

Arbitrum

42161

1 conf
O

Optimism

10

1 conf
B

Base

8453

1 conf
P

Polygon

137

256 conf
T

ThiChain

420420

1 conf

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.

Defense-in-Depth

5 Independent Security Layers

Layer 01

Post-Quantum Signatures

CRYSTALS-Dilithium (NIST ML-DSA) lattice-based cryptography integrated at the bridge layer with Solidity fallback. Roadmap: native precompile on testnet.

Layer 02

Validator Multi-Sig

Threshold-based consensus with ascending-order enforcement. Replay protection via unique deposit hashes.

Layer 03

Guardian Pause + Timelock

Immediate emergency pause on all contracts. 48-hour timelock on critical changes. Two-step admin transfer.

Layer 04

ConsciousnessAI Defense

On-chain bot detection at 0x0420. MEV bots pay 50% higher fees. Karma-based discounts for legitimate users.

Layer 05

Economic Security

Relayer QBIT rewards for honest operation. Insurance fund for perps. Daily bridge volume limits per token.

Rigorous Testing

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
FAQ

Frequently Asked Questions

Common questions about the QuantumDEX protocol.

Have more questions? We're here to help.

Contact us for more information
Testnet Launching Q2 2026

Be 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.

Karma-based fee discounts (0.25%–0.35%)
ConsciousnessAI MEV bot protection
veQBIT governance with weekly rewards

Open source · MIT licensed · 1,556 tests passing · Audit pending