Quantum Shielddocs

Constants

Every number in the protocol, in one place.

Signature scheme

ConstantValue
Hashkeccak256
Winternitz w16
CHAINS67
Chain steps15
MAX_HEIGHT20
Key size32 bytes
Signature size64 + 67·32 + 32·height bytes
Tree height in the app8 (256 signatures, 2,464-byte signature)
Leaves skipped after a restore (app)8

QuantumVault

ConstantValue
OP_DOMAINkeccak256("QuantumVault.Op.v1")
VIRTUAL_SHARES1e6
NETWORK_FEE_INTERVAL1 hour
MAX_PRICE_STEP_BPS1000 (10%)
Average weight7/8 old, 1/8 new
maxOpCostWei0.0005 ETH

FeeHarvester

ConstantValue
TEAM_SHARE_BPS5000 (50%)
MAX_IMPACT_BPS50 (0.5%)
MAX_PREMIUM_BPS1500 (15%)
CALLER_TIP_BPS50 (0.5%)
GAS_OVERHEAD25,000 gas
MAX_HALVINGS8
SUCCESSOR_DELAY24 hours
targetDeposit0.02 ETH

ERC-4337

ConstantValue
EntryPointv0.8, 0x4337084D9E255Ff0702461CF8895CE9E3b5Ff108
DEFAULT_VERIFICATION_GAS400,000
SALE_CALL_GAS650,000
PLAIN_CALL_GAS120,000

App key storage

ConstantValue
Secret32 random bytes, shown as 24 BIP-39 words
EncryptionAES-256-GCM
Key derivationPBKDF2-SHA-256, 600,000 iterations

Network

ChainRobinhood Chain
Chain ID4663
Market fee1% per trade

On this page