fast
Skill2 starsChanged 2 months agoMITView on GitHub
fast CLI for managing Fast network accounts, sending tokens, funding via bridge or supported app routes, and paying x402-protected APIs. Use when the user wants to run fast commands, create accounts, check balances, send USDC, or interact with the Fast network from the terminal.
- Installs packages
2 other projects use a version of this.
Adopted by
Most recently taken up by
- buildomator/buildomatortheir own version, first seen Sep 20, 2026
- Mesteriis/Engineering-Bible-AItheir own version, first seen Jun 28, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- buildomator/buildomator★ 90same name
- Mesteriis/Engineering-Bible-AI★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repositoryOne other file it gives its agents.
- key-handoverSkill
The file
We split this skill into the rules it gives an agent
10 rules. About 0 are common, 5 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 32
If fast is still not found after install, diagnose PATH:
- Distinctive: line 47
Every supported subcommand is listed below.
- Distinctive: line 134
Create or manage Fast accounts from the terminal
- Distinctive: line 135
Check token balances on Fast or EVM chains
- Very specific: line 177
When running fast fund usdc crypto or fast send --from-chain <chain>, the CLI uses the EVM address derived from the current account's key.
- Distinctive: line 288
If sufficient: executes bridge deposit automatically.
- Very specific: line 289
If insufficient: prints the EVM address and shortfall, exits with code 4 (FUNDING_REQUIRED).
- Very specific: line 356
When depositing via a bridge UI or another wallet, use the EVM address from fast account list.
- Distinctive: line 385
Use with EVM→Fast commands when the EVM account has no ETH — gas is deducted in USDC instead.
- Very specific: line 421
All commands with --json return a consistent envelope:
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
fast CLI
Agent Bootstrap
Run these steps only once per session, on the very first fast command, or if fast is not found. Skip for subsequent commands.
# 1. Require Node.js ≥ 18
node --version # must be v18 or higher; stop and inform the user if not
# 2. Check the latest version and what's installed
LATEST=$(npm show @fastxyz/cli version)
INSTALLED=$(fast --version 2>/dev/null || echo "none")
# 3. Install or upgrade if needed
if [ "$INSTALLED" != "$LATEST" ]; then
npm install -g @fastxyz/cli@latest
fi
# 4. Confirm
fast --version # should print $LATESTIf fast is still not found after install, diagnose PATH:
npm bin -g # ensure this directory is on PATH
npx @fastxyz/cli@latest --version # fallbackIMPORTANT — Agent rule: Do NOT run version checks, npm install, or any shell bootstrap before every
fastcommand. Only run the bootstrap above on the very first command in a session, or iffastis genuinely not found. For all other tasks, call the appropriatefastsubcommand directly.
Complete Command Reference
Every supported subcommand is listed below. Use exactly these command names — do not invent alternatives.
info subcommands
| Command | Description | Key flags |
fast info status | Show network health status for the current network | --network <name>, --json |
fast info balance | Show USDC balances on Fast and bridgeable EVM chains | --json |
fast info history | Show transaction history | --limit <n> (number of records), --json |
fast info tx <hash> | Look up details for a specific transaction by hash | --json |
fast info bridge-chains | List all bridge-compatible EVM chains | --json |
fast info bridge-tokens | List all bridge-compatible tokens | --json |
info statusvsinfo balance: Useinfo statusfor network health. Useinfo balancefor account balances. These are different commands.
info txvsinfo history: Useinfo tx <hash>to look up one specific transaction by hash. Useinfo historyto browse recent transactions (with optional--limit).
info bridge-chainsvsinfo bridge-tokens: Useinfo bridge-chainsto list which EVM chains support bridging. Useinfo bridge-tokensto list which tokens can be bridged.
account subcommands
| Command | Description | Key flags / args |
fast account list | List all stored accounts | --json |
fast account create | Create a new account | --name <alias> (required for non-interactive), --non-interactive |
fast account set-default <name> | Set named account as the default | — |
fast account export <name> | Export the private key of a named account | — |
fast account delete <name> | Delete (remove) a named account | — |
fast account import | Import an existing key | --name <alias> |
account deleteis the only delete command. There is noaccount remove.account exporttakes the account name as a positional argument, not--name.account set-defaulttakes the account name as a positional argument.
fund subcommands
| Command | Description | Key flags |
fast fund | Interactively choose Card, external USDC, Coinbase, or Swapper. All hosted routes credit fastUSD (mainnet only). | --address, --amount |
fast fund card | Print the supported Card funding URL. | --network mainnet, --address, --amount |
fast fund usdc | Print the supported external-USDC funding URL; the Fast-side asset is fastUSD. | --network mainnet, --address |
fast fund crypto --supplier coinbase|swapper | Print the selected supported crypto-supplier URL; credits fastUSD. | --network mainnet, --address, --amount |
fast fund usdc crypto <amount> | Bridge external USDC from an EVM chain; the configured route selects the Fast-side asset (e.g. fastUSD on mainnet, testUSDC on testnet). | --chain <chain> (required), --token, --eip-7702 (gasless) |
fast fund usdc fiat | Deprecated alias for fast fund card. | --network mainnet, --address |
fast fund fastusd | Deprecated alias for the interactive method selector. | --to <fast1...>, --amount <decimal> |
send command
fast send <address> <amount> [--token <TOKEN>] [--from-chain <chain>] [--to-chain <chain>] [--eip-7702]| Argument / Flag | Description | Allowed values |
<address> | Recipient address | fast1... (Fast network) or 0x... (EVM) |
<amount> | Amount to send | numeric string, e.g. "20" |
--token <TOKEN> | Defaults to network.defaultToken.symbol (fastUSD on mainnet, testUSDC on testnet) when omitted. Bridge routes (--from-chain / --to-chain) require the resolved token to be available on the target chain; otherwise the command errors with CommandUnsupportedForTokenError. | USDC, fastUSD, testUSDC |
--from-chain <chain> | Bridge from this EVM chain into Fast | e.g. arbitrum-sepolia, base |
--to-chain <chain> | Bridge from Fast to this EVM chain | e.g. arbitrum-sepolia |
--eip-7702 | Gasless deposit (no ETH needed on EVM side) | flag, no value |
Always pass
--token USDCexplicitly when bridging or sending USDC — do not rely on the default.
network subcommands
| Command | Description |
fast network list | List configured networks |
fast network set-default <name> | Set the default network (testnet or mainnet) |
fast network add <file> --name <name> | Add a custom network from a JSON config file; --name is required |
fast network remove <name> | Remove a custom network by name |
network addrequires both arguments: the config file path (positional) AND--name <name>(named flag). Omitting--namewill fail.network removeis the correct command to delete a network — do NOT usenetwork deleteornetwork list.
pay command
fast pay <url> [--method <METHOD>] [--body <data|@file>] [--dry-run]Use Cases
Use when:
- Create or manage Fast accounts from the terminal
- Check token balances on Fast or EVM chains
- Send USDC between Fast addresses or bridge to/from EVM
- Fund a Fast account from crypto (bridge) or fiat (on-ramp)
- Pay a payment-protected URL (x402) using a stored account
- Configure networks or switch defaults
Out of scope:
- Programmatic SDK usage → use
@fastxyz/sdkor@fastxyz/allset-sdk - Protecting API routes with payments → use
@fastxyz/x402-server - Operations requiring custom transaction logic not exposed by the CLI
Related Package References
Detailed API docs are in the monorepo. Read these files when you need package-specific details:
| Path | Package | Purpose |
app/cli/README.md | @fastxyz/cli | CLI source — command structure and config |
packages/fast-sdk/README.md | @fastxyz/sdk | Fast network SDK — build/sign transactions, query accounts, transfer tokens |
packages/allset-sdk/README.md | @fastxyz/allset-sdk | Bridge SDK — EVM → Fast deposits, Fast → EVM withdrawals |
packages/x402-client/README.md | @fastxyz/x402-client | x402 client — pay 402-protected APIs programmatically |
packages/x402-server/README.md | @fastxyz/x402-server | x402 server — protect API routes with payment middleware |
packages/x402-facilitator/README.md | @fastxyz/x402-facilitator | x402 facilitator — verify and settle payments |
packages/x402-types/README.md | @fastxyz/x402-types | Shared x402 types — PaymentRequirement, PaymentPayload, network configs |
packages/fast-schema/README.md | @fastxyz/schema | Effect schema — BCS/JSON-RPC/REST wire format codecs |
Key Concepts
Accounts
Accounts are stored in ~/.fast/. Each account has two addresses derived from
the same Ed25519 key:
- Fast address (
fast1...) — used on the Fast network - EVM address (
0x...) — the same key expressed as an Ethereum address, used for bridge deposits
When running fast fund usdc crypto or fast send --from-chain <chain>, the CLI
uses the EVM address derived from the current account's key. Use
fast account list to see both addresses.
Networks
Two networks are always available: testnet (default) and mainnet. Switch
with --network mainnet per command, or set a persistent default:
fast network set-default mainnetCustom networks can be added from a JSON config file via fast network add <file> --name <name>. Both arguments are required. Remove a custom network with fast network remove <name>.
Password
The keystore password can be provided as:
--password <value>flagFAST_PASSWORDenvironment variable (preferred — avoids shell history exposure)- Interactive prompt (interactive mode only)
Accounts created in --non-interactive mode with no password are stored
unencrypted (file permission 0600 only, like an SSH key without a passphrase).
Common Workflows
1. Create an account
fast account create
# → prompts for password, prints Fast + EVM address
# Non-interactive (no password, unencrypted key):
fast account create --non-interactive --name agent-wallet
# Then set it as default:
fast account set-default agent-wallet2. Check balances
fast info balance
fast info balance --json # machine-readablefast info balance shows balances on Fast and on each bridgeable EVM chain.
Check network health status
fast info status # ← use THIS for network health, NOT info balance
fast info status --jsonLook up a transaction
fast info tx 0xabc123def456 # ← use THIS for a specific tx hash
fast info history # ← use THIS for recent tx list
fast info history --limit 10 # last 10 recordsList bridge-compatible chains and tokens
fast info bridge-chains # ← lists which EVM chains support bridging
fast info bridge-tokens # ← lists which tokens can be bridgedAdd and remove custom networks
# Add — BOTH the file path AND --name are required:
fast network add /etc/fast/custom-net.json --name custom-testnet
# Remove — use 'network remove', NOT 'network delete':
fast network remove custom-testnetAccount management
fast account export my-wallet # export private key of 'my-wallet'
fast account delete old-wallet # delete account named 'old-wallet' (NOT 'account remove')
fast account set-default my-wallet # set 'my-wallet' as default3. Send tokens on Fast (Fast → Fast)
# Default token: fastUSD on mainnet, testUSDC on testnet.
fast send fast1ab2...y3w 10.5
# To send USDC explicitly, pass --token:
fast send fast1ab2...y3w 10.5 --token USDC4. Fund from EVM → Fast (fast fund usdc crypto)
fast fund usdc crypto 50 --chain arbitrum-sepoliaWhat happens:
- Checks ERC-20 balance on
arbitrum-sepoliafor the account's EVM address. - If sufficient: executes bridge deposit automatically.
- If insufficient: prints the EVM address and shortfall, exits with code 4
(
FUNDING_REQUIRED). Send tokens to that address first, then re-run.
Find your EVM address with
fast account list.
Gasless variant with EIP-7702 (no ETH needed)
fast fund usdc crypto 50 --chain base --eip-7702Gas is paid in USDC instead of ETH. Approve + deposit are batched into a single UserOperation via the AllSet Portal and Pimlico.
5. Bridge USDC from Fast → EVM
fast send 0xYourEvmAddress 25 --token USDC --to-chain arbitrum-sepolia6. Add fastUSD through the hosted funding app (mainnet only)
# Interactive selector over the four supported routes
fast fund --network mainnet
# Or choose a route explicitly
fast fund card --network mainnet
fast fund usdc --network mainnet
fast fund crypto --supplier coinbase --network mainnet
fast fund crypto --supplier swapper --network mainnetThe supported routes are Card (/card), USDC from another network (/usdc),
and Crypto via Coinbase or Swapper (/crypto?supplier=...). All credit the
Fast-native asset fastUSD. USDC is an external input asset, not a separate
native USDC balance on Fast. The CLI prints the link; it does not submit a
payment itself. Hosted links are mainnet-only. In JSON or non-interactive mode,
select a method explicitly instead of using the interactive command.
fast fund crypto --supplier coinbase --network mainnet --address fast1...The old fast fund usdc fiat command is a deprecated alias for Card;
fast fund fastusd is a deprecated alias for the method selector.
8. Pay an x402-protected URL
fast pay https://api.example.com/resource
# POST with a body:
fast pay https://api.example.com/resource --method POST --body @request.json
# Inspect without paying:
fast pay https://api.example.com/resource --dry-runCommon Pitfalls
Fast address vs. EVM address — same key, different format
The fast1... and 0x... addresses shown by fast account list are both
derived from the same private key. You do not need a separate EVM wallet.
When depositing via a bridge UI or another wallet, use the EVM address from
fast account list.
fast fund usdc crypto vs. fast send --from-chain
| Command | Use when |
fast fund usdc crypto <amount> --chain <chain> | Top up your own Fast account from your own EVM balance |
fast send <fast-address> <amount> --from-chain <chain> | Bridge from EVM to an arbitrary Fast recipient |
Token names: USDC vs. testUSDC
On testnet, USDC and testUSDC both resolve to the same token.
On mainnet, only USDC is valid.
Bridge direction flags
| You want | Command |
| EVM → Fast (standard) | fast send <fast1-address> <amount> --token USDC --from-chain <chain> |
| EVM → Fast (gasless, no ETH) | fast send <fast1-address> <amount> --token USDC --from-chain <chain> --eip-7702 |
| Fast → EVM | fast send <0x-address> <amount> --token USDC --to-chain <chain> |
| EVM → EVM | Not supported (NOT_IMPLEMENTED) |
The address format determines direction: 0x recipient → Fast→EVM; fast1
recipient with --from-chain → EVM→Fast.
--eip-7702 flag: when to use it
Use with EVM→Fast commands when the EVM account has no ETH — gas is deducted in USDC instead. Ignored for Fast→Fast or Fast→EVM routes.
Global Flags
| Flag | Description |
--json | Machine-readable JSON output (also suppresses prompts) |
--non-interactive | No prompts; fails with exit code 2 when input is missing |
--network <name> | Override network (testnet, mainnet, or a custom name) |
--account <name> | Use a specific stored account |
--password <value> | Keystore password (prefer FAST_PASSWORD env var) |
--debug | Verbose logging to stderr |
Exit Codes
| Code | Meaning |
| 0 | Success |
| 1 | General error |
| 2 | Invalid usage / bad arguments |
| 3 | Account not found |
| 4 | Insufficient balance / funding required |
| 5 | Network error |
| 6 | Transaction failed |
| 7 | User cancelled |
| 8 | Password required or incorrect |
JSON Output Shape
All commands with --json return a consistent envelope:
{ "ok": true, "data": { ... } }
{ "ok": false, "error": { "code": "ERROR_CODE", "message": "..." } }Agent workflow: run with --json → check ok → if false, branch on error.code.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

