CubeOS — The Self-Custodial Economy
A whitepaper on the Cube Chain and its ecosystem.
Platform Overview
1Abstract
CubeOS is a vertically integrated, self-custodial digital economy built on Cube Chain, an EVM-compatible Layer-1 with a zero-base-fee design. Where most crypto projects ship a single primitive — a token, a DEX, a wallet — Cube ships an entire stack: the chain, the identity layer (Cubemail), the payment rail (CubePay), capital markets (Cube DEX and DPO), the hardware (Cube Phone and Cube Card), real-time communication (Cube Convene), and a creation studio (Cube Studio).
Every product shares one account, one wallet, and one chain. A merchant can accept a payment, settle it on-chain, borrow working capital against their sales history, raise growth capital from a community, swap into a stablecoin, and pay a supplier — without leaving the ecosystem or surrendering custody of their funds.
2Thesis
The dominant model of digital finance is custodial and fragmented. Your bank holds your money, your email provider owns your identity, your processor rents you access to your own cash flow, your exchange custodies your assets. Each layer extracts rent and is a point of control and failure. CubeOS inverts this around a single principle: self-custody by default, integration by design.
Self-custody
Keys live with the user — on Cube hardware, inside a secure enclave. Cube never holds user funds; settlement is on-chain and verifiable.
Integration
One Cube account is your email, wallet, merchant identity, DEX login, and single sign-on across every Cube product.
Near-free
A zero-base-fee chain plus subsidized data on Cube hardware push the cost of transacting toward zero.
3Cube Chain — the settlement layer
Cube Chain is the EVM-compatible Layer-1 that every product settles to.
| Network | Cube Mainnet |
| Chain ID | 7526 (0x1d66) |
| RPC endpoint | https://mainnet.dhive.org |
| Block explorer | https://scan.cube.ng (Blockscout) |
| Native gas asset | CFUEL (on-chain DFUEL; wrapped WDFUEL) |
| Native supply | 15,000,000 |
| Fee model | Zero base fee |
| Transaction type | Legacy (type-0) — EIP-1559 not accepted |
| VM | EVM — full Solidity / ERC-20 compatibility |
3.1 Zero-fee, legacy-tx design
Cube reports an effectively zero base gas price — the foundation of the "near-free" promise. In practice the node rejects EIP-1559 (type-2) transactions, so every Cube client signs legacy type-0 transactions with an explicit gasPrice set just above the node's minimum floor. This single contract — zero base fee, legacy txs, a tiny gas floor — is wired consistently through every signer, from the DEX engine to the Cubemail wallet to CubePay settlement.
3.2 The Dhive AMM suite
Cube's on-chain markets run a Uniswap-V2-style AMM, the Dhive contract suite: DhiveFactory (0x62E5…7A32) and DhiveRouter (0xc9f9…9621). Pairs follow the constant-product model, and the entire economy is USD-quoted — every pool is USD / asset, giving all products one common pricing denominator.
4Tokens
Cube separates gas, value, stable settlement, local currency, and rewards into distinct assets so no single token has to do conflicting jobs.
| Token | Type | Role |
|---|---|---|
| CFUEL | Native coin (wrapped WDFUEL) | Gas / blockspace. 15M native supply. |
| CUBE | ERC-20 | Ecosystem value token; USD/CUBE market. |
| Cube USD | ERC-20 stablecoin | Quote asset; pricing & settlement unit. |
| xNGN | ERC-20 (local currency) | NGN settlement; DPO sales & repayment. |
| DVU | ERC-20 (rewards) | Loyalty: card rewards, DPO backer multipliers. |
CFUEL is the native coin and fuel for all computation, with a fixed 15M supply; because AMM pools trade ERC-20s, it is wrapped as WDFUEL (0xa633…8b24) for liquidity and surfaced to users as CFUEL. CUBE (0x1c9f…1288) is the tradeable value token, distinct from gas. The USD stablecoin (0x8416…cCD4) is the quote asset across the whole economy, while xNGN makes Cube usable as real money locally and DVU recirculates consumer activity back into participation.
5Cubemail — the identity layer
Cubemail is the keystone of the ecosystem: it is the Cube account. The model is "Gmail for Google" — the email address is the identity every other product authenticates against.
Signing up provisions three things in one action: an inbox on @cubemail.io, a self-custodial wallet born with the account, and a one-time recovery code. Because the wallet is born with the account, signing in to Cubemail signs you in to your wallet — this is what makes "one account across the ecosystem" possible.
A complete account & comms suite — not a stub — a production, two-way mail server and identity provider.
Sign in with Cubemail: an OAuth-style IdP + drop-in SDK used by CubePay, Convene, DEX, and Studio for SSO, verified server-side.
Outbound mail: DKIM-signed external delivery via SMTP relay, with deliverability linting and per-account rate limits.
Inbound mail: real reception with edge anti-spam (HELO/FQDN, RBL) feeding a content + reputation scorer; spam is routed, never dropped.
Cubemail Cloud (Drive): folders, trash/restore, share links, search, previews, quota — and the store for Convene recordings.
Account dashboard: live wallet assets from the Cube RPC, connected apps, and security (lock, change password, rotate recovery, export).
Internal mail between @cubemail.io accounts delivers instantly within the network.
6CubePay — the payment rail
CubePay is Cube's payment gateway and the economic heart of the ecosystem — the data source that powers DPO credit. It is non-custodial by construction: it never pools merchant funds.
6.1 How a payment works
Invoice
A merchant creates an invoice (USD or NGN) via API, payment link, or dashboard.
Deposit address
CubePay derives a unique HD-wallet deposit address for that invoice.
Detect
A background watcher scans the chain; on a confirmed payment, the invoice moves new → pending → paid.
Settle
A gas-funder tops up the deposit address, then the deposit key transfers the funds directly to the merchant payout wallet. Invoice → completed with the settlement tx hash.
Funds flow buyer → deposit address → merchant wallet, all on-chain and verifiable. CubePay holds nothing in between. Merchants get a full console: analytics, single- and multi-use payment links, a transactions ledger, HMAC-signed webhooks, currency-scoped API keys, and login by email/password, API key, or Sign in with Cubemail.
6.2 Payouts & the Cube treasury
Beyond direct settlement, merchants can request a payout of their settled earnings, which enters an admin queue to be approved (with an editable amount), rejected, or paid out on-chain from the Cube treasury. The treasury — a funded wallet holding native CFUEL plus xNGN/USDT — is exposed in full to operators: live balances, credit deployed vs. committed, an underfunding indicator, and deposit / withdraw controls. It is the ecosystem's operating-capital cockpit.
7DPO — Decentralised Private Offering
DPO is Cube's capital-markets product for merchants. It has two faces, both anchored to a merchant's real CubePay activity. "Access cash anywhere. Your Cube Phone is your bank."
Working-capital credit
A merchant's settled history is their creditworthiness. Eligibility is computed directly from settled volume — up to 50% of lifetime volume (max = volume × 0.5 − outstanding), no collateral. Apply → admin validates/edits → credit is disbursed on-chain from the treasury to the payout wallet (xNGN/USDT). Repay weekly, biweekly, or monthly to build a portable on-chain credit history.
Community token offerings
Merchants launch a campaign — symbol, currency (USDT/xNGN), goal, token price, duration, product discounts, and a DVU reward multiplier. Backers fund it and receive discounts plus DVU rewards, tracking ROI from a backer dashboard. On-chain, a token factory mints the offering, uses xNGN for sale/repayment/LP, and buys back at settlement (xNGN → USD → CFUEL).
Together, the two faces turn payment activity into a financial identity: it unlocks credit and the ability to raise growth capital from the community a merchant serves.
8Cube DEX — the exchange
Cube DEX is the self-custodial exchange in your pocket — spot trading and swaps (perpetuals on the roadmap) over the Dhive AMM. Markets are sourced live from DhiveFactory pairs; every pool is USD-quoted and every trade is verifiable on-chain.
Two ways to trade, one interface — self-custody by default, with a real market-data backbone.
MetaMask / EIP-1193 connect, with automatic Cube-Mainnet chain switching.
Cubemail vault: sign in, unlock, and trade directly from the wallet that came with your email — no extension required.
Go indexer mirrors PairCreated / Sync / Mint / Burn / Swap events into Postgres; prices derive from on-chain reserves, no oracle.
WebSocket service pushes live swap/sync updates; the UI renders candlesticks (MAs, intervals, crosshair) and a live trades feed.
Order form shows quote, price impact, slippage, and step-by-step on-chain execution with tx hashes.
Admin curation features/orders/annotates tokens without affecting on-chain tradeability.
9Cube Phone — the hardware gateway
Cube Phone is the sovereign phone — the hardware on-ramp to the ecosystem. "Free calls, free data and a hardware secure enclave — engineered from the silicon up to run an onchain OS you truly own."
Hardware: 6.7" AMOLED 120Hz, Snapdragon 8 Gen 2, up to 8GB/256GB, 5000mAh/65W. From $200 (128GB).
Secure enclave (EAL6+ class) holds keys on-device for on-hardware signing of payments and DEX orders.
Cube Line: a pre-activated free number with unlimited calls/messages to Cube Line users and instant transfers.
Zero-rated data so the cost of being online and transacting trends to zero.
Purchase flow: the storefront validates live inventory, then creates a CubePay invoice — priced in NGN and paid in xNGN for Nigeria, or USD and paid in USDT elsewhere. On payment, a signed webhook records the order and atomically decrements stock. The phone is both a product and a live demonstration of CubePay settling real commerce.
10Cube Card — self-custodial spending
Cube Card extends self-custody to everyday spending: a matte-black metal card with a secure-enclave chip and NFC tap-to-pay. "Your card is your wallet… every transaction signs from the secure enclave — Cube never holds your funds."
Tap-to-pay at NFC merchants worldwide, signing from the on-card secure element.
DVU rewards on spend, settling on-chain in real time.
Self-custody: keys never leave the chip; instant freeze/lock from the app.
Lifecycle: requested → active → frozen → terminated, via the admin issuance console.
Status: the card backend (issuance API, data model, lifecycle) is built and the marketing experience is live, but the public request flow and admin console are currently disabled — Cube Card is in pre-launch.
11Cube Convene — communication
Cube Convene is the ecosystem's real-time communication suite — a full Meet-style video platform, not a placeholder. Authentication is Sign in with Cubemail, and artifacts are tracked from the unified Cube account dashboard.
Meetings, scheduling, and AI notes — built on LiveKit with a complete scheduling and recording stack.
Multi-party video over LiveKit: 1080p capture, simulcast ladder, retina-aware adaptive streaming, optional camera enhancement.
Calendly-style scheduling: hosts publish booking pages, invitees pick computed free slots (double-book guarded), meetings mint with .ics.
Recordings saved to the device or directly into Cubemail Cloud (Drive).
AI notetaker (Cube Scribe): an opt-in bot transcribes meetings and produces minutes on the dashboard.
Live captions & translation in English, Igbo, Yoruba, and Hausa.
Same platform SSO as the rest of CubeOS.
12Cube Studio — creation
Cube Studio is the ecosystem's creation surface: an AI app builder that turns plain English into shipped software. "Describe an app. Ship it on Cube."
From a prompt to a deployed app — a no-code agent and a full IDE, with a real deploy pipeline.
The Agent (no-code): builds a whole project from one prompt, with live preview and chat-based refinement.
The Editor: an IntelliJ-style workspace — file tree, terminal, Monaco editor, docked AI panel, run cluster, live URL.
Ship anywhere: generated web and mobile apps deploy zero-rated to the Cube Browser and Cube App Store.
Metered by a credit system, with a template library to start from.
Real pipeline: streams generation (thinking → file writes → done), previews live, deploys via GitHub + Kubernetes.
Distributed as a downloadable desktop app (macOS/Windows/Linux) plus the web editor.
13The flywheel — how it all fits together
The products are not siloed; they feed each other. A concrete loop: a merchant buys a Cube Phone (paid through CubePay), accepts payments that settle on-chain to their Cubemail wallet, builds a settlement history that unlocks DPO working capital, raises growth funds via a DPO offering (backers earn DVU), swaps proceeds on the Cube DEX, runs their team on Cube Convene, ships a storefront with Cube Studio, and spends with a Cube Card — every step on Cube Chain, self-custodial, under one identity.
┌──────────────────────────────────────────┐
│ CUBEMAIL │
│ one account = inbox + wallet + identity │
│ (Sign in with Cubemail) │
└──────────────────────────────────────────┘
▲ identity & wallet for every product
┌───────────────┼───────────────────────────────────────────┐
PHONE / CARD CUBEPAY CONVENE / STUDIO
(enclave keys, (accept + settle (meet, schedule,
DVU rewards) on-chain) ──┐ build & ship)
│ settled volume
▼
┌──────────┐
│ DPO │ credit + token offerings
└────┬─────┘
│ liquidity, price
▼
CUBE DEX ⇄ CUBE CHAIN
(USD-quoted AMM) (CFUEL gas, CUBE value,
USD / xNGN / DVU)Activity in any product deepens liquidity, data, and demand for all the others.
14Architecture & security
On-chain settlement
Payments, payouts, credit, and trades resolve to real, mined transactions with recoverable hashes — auditable on scan.cube.ng.
Non-custodial by construction
Per-invoice deposit addresses sweep to merchant wallets; the DEX signs locally; Cubemail and hardware keep keys with the user.
Hardware root of trust
Cube Phone and Card use EAL6+-class secure enclaves — self-custody enforced in silicon.
One identity, verified server-side
Cubemail SSO verifies credentials server-side and propagates audience-scoped, verified claims.
Admin-gated value movement
Treasury withdrawals, disbursement, and payouts sit behind admin auth with on-chain confirmation, balance preflights, and nonce serialization.
Consistent chain semantics
Every signer honors the zero-base-fee, legacy-type-0, gas-floor contract — eliminating a class of transaction-rejection failures.
15Token economics
| Token | Address | Role |
|---|---|---|
| CFUEL | 0xa633…8b24 (wrapped) | Gas; 15M native supply |
| CUBE | 0x1c9f…1288 | Ecosystem value token |
| Cube USD | 0x8416…cCD4 | Quote asset; settlement unit |
| xNGN | factory-issued | NGN settlement; DPO |
| DVU | — | Loyalty / rewards |
Design intent: gas (CFUEL) is decoupled from value (CUBE) so fee policy never distorts the value token; a stablecoin (Cube USD) gives the economy one pricing scale; a local-currency token (xNGN) makes Cube usable as real money in-market; and a rewards token (DVU) recirculates consumer activity back into participation.
16Implementation status & disclaimer
This whitepaper describes the ecosystem as designed. For accuracy, the maturity of each component as built:
| Component | Status |
|---|---|
| Cube Chain (RPC, explorer, Dhive AMM) | Live |
| Cubemail (mail in/out, wallet, SSO, Drive) | Live |
| CubePay (invoices, links, settlement, webhooks) | Live |
| CubePay credit + treasury + payout approvals | Live |
| Cube DEX (spot/swaps, indexer, charts) | Live · perps planned |
| Cube Convene (video, scheduling, notes, captions) | Live |
| Cube Phone (storefront, checkout, inventory) | Live |
| Cube Studio (AI editor, deploy pipeline) | Live |
| Cube Card (issuance API, lifecycle) | Built · pre-launch |
| DPO working-capital credit | Live end-to-end |
| DPO community token offerings | Built · metrics illustrative |
| Portable on-chain credit score | Planned direction |
Disclaimer
This document is a technical and product description of the CubeOS ecosystem for informational purposes. It is not investment advice, an offer to sell, or a solicitation to buy any token or security. Contract addresses, parameters, and feature sets reflect the system at the time of writing and may change. Token utilities are functional roles within the ecosystem and should not be construed as financial promises. Conduct independent verification before transacting.
