Rent sandboxed compute on Charter
charterhome.dev/v1/rent
Rent sandboxed compute on Charter: a call opens a lease and pays its first interval (hosts set prices; 0.007 USDC an hour today). Send a job (python: a script up to 8 KiB with NumPy; urls: up to 5 pages in a headless browser) or a home (sshKeys: a box with a disk kept 7 days, SSH at access.ssh; image charter-hermes: Hermes Agent). Hosts are run by independent operators. No account, just a wallet.
POST
https://charterhome.dev/v1/rentUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://charterhome.dev/v1/rent", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"python":{"script":"print(2 + 2)"}}),
});
console.log(await res.json());Example input
{
"python": {
"script": "print(2 + 2)"
}
}