Rent compute capacity
TNZO streams one epoch-slice at a time out of your balance. A missed availability proof moves nothing — you keep the slice.- Level
- Intermediate
- Time
- ~20 min
- Prerequisites
- tenzro-node reachable; a funded TNZO account
- Stack
- CLI
Fund a prepaid balance
Streaming settlement draws from a prepaid ledger rather than debiting your on-chain account every epoch. The deposit debits your real balance once and credits the prepaid ledger; it persists across a node restart. Amounts are in wei (1 TNZO = 1018 wei).
tenzro escrow prepaid-deposit \
--renter 0xYOUR_ADDRESS \
--amount 5000000000000000000Find a provider and its rate
A provider that serves AI already advertises the capability; renting compute rides the same role and stake. Read its effective per-epoch rate before booking — it may be a flat rate or network-dynamic.
tenzro node compute status --rpc https://PROVIDER_RPCBook the rental
Booking locks your exposure (price_per_epoch × total_epochs) and registers the provider's obligation against its stake. It fails if the stake cannot cover the new obligation on top of everything else the node owes — storage deals included. Keep the returned rental_id.
tenzro node compute book-rental \
--rpc https://PROVIDER_RPC \
--renter 0xYOUR_ADDRESS \
--total-epochs 24Settle epochs as they pass
Each epoch the provider settles with an availability proof. A valid proof moves one slice (Settled); an absent proof moves nothing and you keep the slice (Missed); the rental closes on term end, lost coverage, or crossing the miss threshold (Closed). Unspent term stays yours until it is earned.
# provider proved availability this epoch
tenzro node compute settle-epoch \
--rpc https://PROVIDER_RPC \
--rental-id <rental-id> --proof-valid true
# provider went dark — no value moves
tenzro node compute settle-epoch \
--rpc https://PROVIDER_RPC \
--rental-id <rental-id> --proof-valid falseInspect the rental
tenzro node compute rental \
--rpc https://PROVIDER_RPC \
--rental-id <rental-id>Withdraw the unspent remainder
When the term ends, whatever was not earned is still in your prepaid balance. Withdraw it back to your on-chain account; the remainder is capped at the available prepaid balance.
tenzro escrow prepaid-balance --renter 0xYOUR_ADDRESS
tenzro escrow prepaid-withdraw \
--renter 0xYOUR_ADDRESS \
--amount <remaining-wei>