Back to Wave Wiki

Wave Pool

From Wave Wiki — the open reference for the Wave OS ecosystem.

1. About

Wave Pool is a collective GPU compute purchasing app built into Wave OS. Users pool TFUEL together to deploy custom open-weight AI models on Theta EdgeCloud at bulk rates. Trustless escrow via Solidity smart contracts on Theta mainnet ensures pool operators cannot access member funds — funds go directly to Theta EdgeCloud for compute costs. Pool slots are represented as TNT-721 NFTs, enabling native ThetaDrop integration and TDROP buyer rewards.

2. Tech Stack

Frontend: Base44 app embedded in Wave OS via iframe.

Backend: Base44 backend functions (transferCreditsToPool, joinPool, submitCredits, recordUsage).

Smart Contracts: WavePoolEscrowV2.sol (escrow + NFT minting + governance) and WaveSlotMarketplace.sol (atomic marketplace settlement).

NFT Standard: TNT-721 (Theta native NFT standard, not ERC-1155).

Auth: Base44 native auth, linked to Wave OS ComputeCredit accounts for credit-based funding.

Blockchain: Theta Mainnet.

3. Install

Wave Pool is a built-in Wave OS application. No installation required — access it from the Wave OS app grid. Users need a Wave OS account and optionally a Theta wallet for direct TFUEL funding.

4. Pricing & Credits

A 2% platform fee is applied on every executed spend (compute that actually happens). 98% goes to Theta EdgeCloud, 2% to Wave OS treasury.

Pool creators pay their own gas for pool creation (createPool). Wave OS pays zero gas for creation.

Gas reimbursement: Once a pool reaches its funding goal, the creator's gas cost is reimbursed from the pool balance (capped at 0.5 TFUEL to prevent abuse).

Unfunded pools: full refund to members, NO FEE, auto-close after 30 days via closeUnfundedPool().

Credit bridge: Wave OS users can fund pools using Wave credits (converted to TFUEL via the transferCreditsToPool backend function).

NFT marketplace: Slot NFTs can be listed and sold for TFUEL via the built-in WaveSlotMarketplace contract (atomic settlement) or pushed to ThetaDrop for manual listing.

5. Known Limitations & Roadmap

ThetaDrop has no public API — secondary listings require manual UI interaction with pre-filled contract/token data.

Pool slots are limited to the creator-defined slot count at creation time.

ERC721Enumerable was intentionally skipped (50 TFUEL for 100 slots) in favor of ERC721A (100 slots mint in 1 tx for ~1.1 TFUEL).

Single monolithic contract approach (~9.5KB, 38.8% of Theta's 24KB EIP-170 limit) — no contract splitting needed.

6. Privacy & Data

Pool participation data is stored in Base44 entities scoped to the user's Wave OS account.

On-chain data (pool creation, NFT minting, spending) is publicly visible on the Theta Mainnet explorer.

Wallet addresses are public on-chain. Off-chain identity (email, credits) stays in Base44 with row-level security.

No personal data is stored on-chain — only TFUEL amounts, wallet addresses, and pool parameters.

7. Published by

Published by xBuildy. Part of the Wave OS ecosystem.