Skip to content
Fourohtwo

Rent sandboxed compute on Charter in one call

charter.mainnet.toonprotocol.dev/v1/rent

Rent sandboxed compute on Charter in one call: opens a lease and pays its first interval (one hour at 0.007 USDC on the live host). Send a job (python: a script up to 8 KiB with NumPy; urls: up to five pages fetched in a headless browser) or a home (sshKeys: a box with a 2 GiB disk kept 7 days, SSH at an onion address, image charter-hermes for Hermes Agent preinstalled). No account, only a wallet.

BaseAnswering
POSThttps://charter.mainnet.toonprotocol.dev/v1/rent

Uptime100% of 4 checks 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://charter.mainnet.toonprotocol.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)"
  }
}

More from charterProvider status