
About
Tuvyy is a Cross-VM DAO on Qorechain. Members vote on the EVM side, and a passed proposal pays out from the Native treasury and writes a Native receipt in one atomic transaction. If any step fails, the whole thing rolls back.
How it's made
Tuvyy is a Cross-VM DAO on the Qorechain Diana testnet. Members vote in a Solidity contract (TuvyyDAO) on the EVM side. When a proposal passes, execute() makes two calls through the cross-VM bridge precompile (executeCrossVMCall) in one EVM transaction. The first call pays the recipient from the Native treasury in QOR. The second writes a receipt to the allowlisted qday-receipts CosmWasm contract. If either call fails, the whole transaction reverts, so a vote never pays out without a receipt. Kits and features: @qorechain/sdk and @qorechain/evm for ML-DSA-87 key registration, opening the EVM window and deployment. Foundry for 22 tests covering payloads, rollback, voting rules and escaping. viem with a Vite and React frontend on Vercel. A read-only proxy to the Native REST API lets judges check the receipt without a wallet. What was hard: the bridge targets one Native contract per call, so the payout and the receipt had to be two calls inside one atomic transaction. Deploying a new Native contract needs governance, so Tuvyy writes to the allowlisted receipts contract. The WDT supply sat with its creator, so the live demo pays in QOR, and the WDT CW20 payout path stays in the code. Receipt notes are capped at 140 bytes, so the contract escapes and truncates them. Proof: proposal #1 paid 2 QOR and wrote receipt #3 in block 10483018 https://explore.qore.network/block/10483018
Timeline
Pushed 4 commits to main
- d104f4a Fix Proposal #1 proof: chunk Executed log search to ≤10k blocks; label test proposal; add audit notes (#3) · webski101
- 6f7d779 Web: in-app wallet disconnect and empty-account notice (#2) · webski101
- a66a406 Tuvyy: cross-VM DAO with atomic treasury payout and native receipt (#1) · webski101
- 50021df chore: initialize Tuvyy with MIT license · webski101
New project.
Comments and questions
- No comments yet.