Rootbox

root@rootbox
root@rootbox
------------
osUbuntu 26.04 LTS
vmFirecracker microVM
box1 to 4 vCPU, 64 GB disk
shellroot, in browser
payper started hour
freereading
blockreading
ledger
readmeterreading events
/boxes
reading
price /h
xs1c/2g$0.20
s2c/4g$0.40
m4c/8g$0.80

Root should not need a credit card.

Renting a server usually means a card, a form, an account and a monthly invoice. Rootbox is one transaction and a black window: pick a size, pay a number of hours in ETH or USDG, and a root shell opens in your browser a few seconds later. The contract holds the hours. A keeper meters one hour onchain as each hour starts, and when you stop, every hour you did not start goes back to your wallet.

open a boxquickstart
box : open to refund
reading the ledger
1 open

One call: open(size, hours, pay, resumeOf). The hours are escrowed in the Meter. A Firecracker microVM boots with your size, an allowlisted network and a terminal bound to a secret that only your signature unlocks.

xs1 vCPU, 2 GB
s2 vCPU, 4 GB
m4 vCPU, 8 GB
2 metered

Hour 1 is metered when the box starts. Each next hour is metered when it begins, never before. Billing is per started hour, from 1 to 24 per session, and extend adds hours to a live box.

meteredreading
refundedreading
boxesreading
3 stop, sleep, wake

Stop saves the whole disk and closes the box in one transaction that settles the hours used and refunds the rest. Wake it later with one more transaction and find it as you left it, for 7 days after its last session.

root@atlas:~# exit
box atlas sleeping, disk saved
refund atlas 2h
/boxes: … on the Meter
boxnamesizestatehourspaid inowneropened

Agents rent boxes too.

An agent with a wallet and a few USDG gets a Linux machine without an account: it signs one authorization, the Meter pulls the hours, and it drives the box over the SDK, the MCP server or plain HTTP. Every call lands in the same ledger as yours.

agents: sdk
import { Rootbox } from "./rootbox.mjs";   // curl -O https://rootbox.run/sdk/rootbox.mjs
import { privateKeyToAccount } from "viem/accounts";

const rb = new Rootbox({
  baseUrl: "https://rootbox.run",
  account: privateKeyToAccount(process.env.AGENT_KEY),
});

const { box } = await rb.open({ size: "xs", hours: 2 });  // x402, USDG
await rb.writeFile(box, "/root/job.sh", "apt-get -qq update && make test");
const out = await rb.exec(box, "bash /root/job.sh");
await rb.stop(box);                                     // 1 h back
agents: x402
$ curl -s -X POST https://rootbox.run/x402/run \
    -H 'content-type: application/json' \
    -d '{"command":"uname -a"}'
HTTP 402  {"accepts":[{"scheme":"exact","network":"eip155:4663",
  "asset":"USDG","payTo":"<meter>","maxAmountRequired":"200000"}]}

# sign ReceiveWithAuthorization, send it back as X-PAYMENT
$ curl -s -X POST https://rootbox.run/x402/run -H "x-payment: $SIG" ...
{"box":4,"exitCode":0,"stdout":"Linux lumen 6.18.56 x86_64"}
agents: mcp
Model Context Protocolstreamable HTTP at /mcp
open_boxpays over x402
execa command as root
write_fileinto the box
read_fileout of the box
stop_boxdisk saved, hours back
list_boxesfrom the Meter
price per hour
sizevCPU / RAMdiskUSDETH nowUSDG
xs1 / 2 GB64 GB$0.20readingreading
s2 / 4 GB64 GB$0.40readingreading
m4 / 8 GB64 GB$0.80readingreading

The ETH rate follows the chain's WETH/USDG pool every hour, at most 15% per update. Hours paid in USDG: 100% to the compute treasury.

guardrails
networkpackage and code hosts only
inboundterminal port, no SSH
miningprobed hourly, kill + refund
cap25 live boxes in total
wallet1 live box per wallet
session24 h, then the box sleeps
switchkill and pause, onchain
UbuntuUbuntu 26.04 LTS, passwordless root
ledger: 0 events