
Quantum Pass
Pnyx
Governance for QoreChain, signed with post-quantum keys: live proposal tallies, QoreX voting and ML-DSA-87 polls.
About
Proposals on the QoreChain testnet vote for only four hours, and some have closed with no votes at all. Pnyx puts every proposal in one place with a countdown, the live tally and whether it is on track under the chain's own quorum, threshold and veto rules. You vote or submit a text proposal through QoreX, which shows the decoded message and signs it hybrid. For questions that aren't worth a binding proposal, Pnyx adds community polls. A poll vote is a short text you sign in QoreX with your post-quantum key. The Polls contract rebuilds that text, reads your registered key from the pqcKeyStatus precompile, requires proof of possession, and checks the signature with pqcVerify. Every precompile call fails closed. Each signature is bound to the chain, the contract, the poll, the option, the voter, a single-use nonce and a one-hour expiry. Results are weighted by bonded stake at the block the poll was created, with a plain headcount beside them.
How it's made
Built from create-qorechain-dapp 0.14.0: the hardhat template (apps/contracts) and the viem-wagmi template (apps/web). - @qorechain/sdk for governance messages and addresses, @qorechain/evm, @qorechain/qorex-rainbowkit, and @qorechain/pqc for test signatures. - The pqcVerify (0x…0a01) and pqcKeyStatus (0x…0a02) precompiles; QoreX signArbitrary and signAndBroadcast; QoreChain REST for proposals, tallies and stake at a height. - Tests: 29 contract tests and 51 web tests. Built with AI coding assistance, described in AI_USAGE.md.
Timeline
New project.
Comments and questions
- No comments yet.