
About
QoreLease is a Cross-VM capacity reservation and verified-settlement protocol for metered AI and API services on QoreChain. Providers register service capacity, publish time-bounded slots and lock QOR collateral in a Native CosmWasm registry. Buyers accept provider-authorised EIP-712 offers and escrow fUSD on the EVM. QoreChain’s synchronous `0x0901` bridge coordinates the EVM escrow and Native capacity reservation within the same transaction. QoreLease validates delivery against signed service-level reports, enforces a two-of-two authorised EIP-712 monitor-signature requirement, and calculates provider payouts and buyer refunds from accepted delivery. Native finalisation updates reservation and collateral state. Deployed and exercised on QoreChain Diana, the recorded live flow reserved and settled 70 units from a 100-unit provider slot, leaving 30 units available and paying 23.80 fUSD. QoreLease brings capacity commitments, execution evidence and financial settlement into one coordinated Cross-VM workflow.
How it's made
QoreLease is built as a coordinated protocol across QoreChain’s EVM and Native CosmWasm runtimes, with each environment owning the state it is best suited to manage. The Native registry is implemented in Rust using CosmWasm. It manages provider registration, service profiles, staking-based admission checks, time-bounded capacity slots, reservation accounting and liquid uQOR service bonds. It validates provider eligibility and rechecks capacity and collateral before accepting a reservation. The EVM settlement layer is implemented in Solidity 0.8.24 and Foundry. It manages buyer fUSD escrow, provider-authorised EIP-712 offers, job state, signed delivery evidence, payout and refund calculations, and timeout handling. Provider offers bind the provider, slot, payout address, pricing, capacity, service terms, SLA thresholds, expiry and nonce to the chain and escrow contract. The Cross-VM boundary uses QoreChain’s synchronous EVM-to-Native bridge precompile at `0x0000000000000000000000000000000000000901`. On offer acceptance, the EVM escrow transfers fUSD and invokes the Native registry to reserve capacity. The returned Native response is decoded and checked against the job ID, terms, reserved units and authorised payout before the EVM job advances. A TypeScript/Node.js provider adapter checks reservation state before executing the invoice-extraction workload. The settlement contract requires two distinct authorised EIP-712 monitor signatures, validates report consistency and service metrics, and calculates provider payment and buyer refund. Native finalisation resolves the capacity reservation and service bond, with a separate timeout path for provider defaults. The web application uses React 19, TypeScript, Vite, Tailwind CSS 4 and viem. It integrates the QoreX Native wallet provider directly for Native transactions and an EIP-1193 EVM wallet for EVM operations. It reads Diana through Native REST and EVM JSON-RPC endpoints. The Native registry was stored under governance Proposal #61 and allowlisted under Proposal #67. The December 2, 2026 Diana evidence records a successful live 70-unit Cross-VM reservation and finalisation, with 30 units remaining and 23.80 fUSD paid. Local Rust, Foundry, adapter and browser tests additionally cover capacity rejection, malformed bridge responses, rollback behaviour, workload execution and monitor-signature validation. These local failure-path tests are distinguished from the successful live Diana transaction evidence.
Timeline
Earned a Ship Weeks badge.
Pushed 49 commits to main
- c39a8b0 chore: remove unused Reset UI Preview button from Buyer page · hari-ramsss
- fd51bd4 fix: polish Diana 9800 buyer, provider, and settlement live E2E UX · hari-ramsss
- caac226 feat: complete live Diana 9800 Cross-VM UI flow and record E2E settlement evidence · hari-ramsss
- b569fec add ui changes · hari-ramsss
- e0cbe3b add proposal qorelease allowlist.json · hari-ramsss
and 44 more commits
First on-chain deployment detected on testnet.
New project.
Comments and questions
- No comments yet.