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.
| Command | What it does |
|---|---|
deploy | Deploys the wallet implementation and the coordinator, writes deployments.json. |
arms new --n 8 --out arms.json | Creates fresh wallets and saves their keys. Keep the file private. |
fund --arms arms.json --eth 0.05 | Sends ETH to each arm to buy with. Nothing is sent for gas. |
buy --arms arms.json --curve 0x.. --eth 0.05 | Signs each arm and fires ONE transaction that buys on the curve with every arm. |
revoke --arms arms.json | Undoes the delegations (authorization to the zero address) in one transaction. |
status --arms arms.json | Shows balances and whether each arm is delegated. |
verify | Runs the real-chain check (no deployment). |
Environment
| Variable | Default |
|---|---|
RPC | https://rpc.mainnet.chain.robinhood.com |
PRIVATE_KEY | the sponsor, required for anything that sends |
OCTOPUS | coordinator address, otherwise from deployments.json |