Skip to main content

Core contracts

These are the protocol contracts deployed on Khromosome (chain 777001).

note

Addresses are for the current deployment and change if the chain undergoes a genesis regeneration. Confirm against the explorer before integrating.

PQRegistry — post-quantum identity anchor

Binds a quantum-safe ML-DSA-87 (Dilithium, FIPS 204, NIST Level 5) public key to an account as a permanent, forgery-resistant identity anchor, and records PQ-signed attestations. See Post-Quantum Security.

  • Address: 0x487d70749a5A917956300898bE0D7Ad449d40ccb
  • Suite: SUITE()"ML-DSA-87" (supersedes the earlier ML-DSA-65 / NIST Level 3 deployment).
  • Key methods: registerKey, revokeKey, attest, pqKeyHashOf, totalRegistered.
  • ABI: see contracts/out/PQRegistry.sol/PQRegistry.json.

PQVerifier — on-chain ML-DSA-87 verification

Library wrapping the native ML-DSA-87 verification precompile at 0x100, so a contract can require a quantum-resistant signature on chain. Fails closed if the precompile is absent.

  • Precompile: 0x0000000000000000000000000000000000000100
  • Input: packed pk (2592) || sig (4627) || message; returns 1 if valid.
  • Source: contracts/src/PQVerifier.sol.

KhromeChain

The on-chain registry of identity-anchored entries (signed, content-addressed records with consent-gated reads and an on-chain disclosure log).

  • Address: 0xCa05774420014606e92cE00D027c4b43c61B56d4
  • Key methods: writeEntry, amendEntry, entries, canRead, recordDisclosure, voteFinality, setValidator.
  • ABI: see contracts/out/KhromeChain.sol/KhromeChain.json in the repo.

ValidatorRewards

Holds the 15% validator-rewards pool and emits it on a geometric-decay schedule to enrolled validators (Synthetix-style per-share accumulator).

  • Key methods: enroll, claim, earned, purge, start.
  • ABI: see contracts/out/ValidatorRewards.sol/ValidatorRewards.json.

KhromeVestingWallet

OpenZeppelin VestingWalletCliff composition used for team/investor vesting.

  • ABI: see contracts/out/KhromeVestingWallet.sol/KhromeVestingWallet.json.