Reference

CLI

Everything the site does, from a terminal.

Run with node cli/octo.mjs <command>. The sponsor key comes from PRIVATE_KEY in the environment, never from an argument.

CommandWhat it does
deployDeploys the wallet implementation and the coordinator, writes deployments.json.
arms new --n 8 --out arms.jsonCreates fresh wallets and saves their keys. Keep the file private.
fund --arms arms.json --eth 0.05Sends ETH to each arm to buy with. Nothing is sent for gas.
buy --arms arms.json --curve 0x.. --eth 0.05Signs each arm and fires ONE transaction that buys on the curve with every arm.
revoke --arms arms.jsonUndoes the delegations (authorization to the zero address) in one transaction.
status --arms arms.jsonShows balances and whether each arm is delegated.
verifyRuns the real-chain check (no deployment).

Environment

VariableDefault
RPChttps://rpc.mainnet.chain.robinhood.com
PRIVATE_KEYthe sponsor, required for anything that sends
OCTOPUScoordinator address, otherwise from deployments.json