Skip to Content
Docs

Tools

CLI

Browse miners, chat, and do the wallet steps (key, grant, deposit) from a terminal.

floprouter browses miners and models, runs chat, and does the wallet steps on your own machine: creating a key, signing the grant, depositing FLOP. Keys stay local. The router receives your address, a signature over its login challenge, and the transactions you sign.

Not published yet. The commands below work once the package is on npm. It needs Node 18.17 or later.

Shell
npx floprouter models
npx floprouter miners --reachable --sort settle_rate
npx floprouter login --key-file ./my-wallet.json     # polkadot-js JSON export, or --seed-file, or a hidden prompt
npx floprouter grant                                 # one signature: your wallet stays the payer on chain
npx floprouter deposit 1                             # fund the balance for the router fee
npx floprouter chat "What is a payment channel?"
npx floprouter session <id>

A seed or password is never accepted as a command-line argument. Before signing a grant, the CLI checks the chain's genesis hash against the router's and refuses any call other than flopSessionKeys.createSession limited to ComputeChannel.