@fluidwallet/cli
v1.0.0
Published
fld — Fluid Wallet terminal CLI. Send, swap, balance, UAI, SOR quotes and key management from your terminal.
Downloads
150
Maintainers
Readme
@fluidwallet/cli — fld
FLuid Daemon — the Fluid Wallet terminal CLI.
Send, swap, check balances, resolve Fluid IDs, get SOR quotes, and manage API keys — all from your terminal.
npx fld helpInstall
npm install -g @fluidwallet/cli
# or use without installing:
npx fld <command>Setup
fld initWalks you through API key setup (generate inline or paste from dashboard) and saves config to ~/.fld/config.json.
Commands
Wallet
fld status # wallet addresses, Fluid ID, key info
fld balance # USDC balance on Base
fld balance ethereum # USDC balance on Ethereum
fld balance solana # USDC balance on SolanaSend & Swap
fld send 10 0xAbC123... # send 10 USDC on Base
fld send 10 alice --chain ethereum # send to Fluid ID on Ethereum
fld swap 100 USDC USDT # swap via FluidSOR on Base
fld swap 1 ETH USDC --chain ethereumPricing
fld quote USDC USDT 100 # SOR routes for 100 USDC→USDT
fld quote SOL USDC 5 --chain solana
fld price ETH # spot price
fld price BTCIdentity
fld uai resolve alice # Fluid ID → wallet address
fld uai reverse 0xAbC123... # address → Fluid IDKeys
fld key info # key metadata, wallet addresses
fld key revoke # deactivate API keyHistory
fld tx list # last 10 swaps
fld tx list 25 # last 25 swaps
fld usage # API call analyticsFlags
--chain base|ethereum|solana # override chain (default: base)
--json # raw JSON output (pipe-friendly)
--url https://... # override Fluid backend URLConfig
Stored at ~/.fld/config.json (chmod 600):
{
"apiKey": "fw_sor_...",
"email": "[email protected]",
"baseUrl": "https://fluidnative.com"
}Run fld init to regenerate.
Links
- Docs: fluidnative.com
- npm: @fluidwallet/cli
- API: @fluidwalletbase/wallet-endpoints
