Requirements
- Node.js v18 or higher
- npm (included with Node.js)
- A running fibx-server instance only if you use Privy-managed wallet operations
No global installation is needed. All commands use
npx fibx@latest, which always fetches the latest version (currently v0.5.1).Installation Options
Run FibX directly withnpx:
Installing Agent Skills
To add fibx skills to your AI agent, use the Vercel Skills CLI:fibx is needed — all skills execute via npx fibx@latest.
Verify Your Environment
Authentication
FibX requires an active session before performing any wallet operation (balance, send, trade, aave). Two authentication methods are available:Private Key Import (Recommended)
If you already have a wallet with a private key, this is the fastest way to get started. The key is encrypted and stored in a local session file for the duration of the session. This mode does not requirefibx-server.
Email OTP (Alternative — Privy Server Wallets)
If you do not have a private key or prefer a managed wallet, you can authenticate via email OTP. This creates a server-managed wallet through Privy, where the private key is held securely on Privy’s infrastructure and never exposed to the client. This mode requiresfibx-server to be running and reachable.
Session Management
Global Options
These flags apply to all commands:Chain Selection
If no--chain flag is provided, all commands default to Base.
First Transaction
After authenticating, run through a complete workflow to verify everything is working:1
Check your balance
2
Execute a swap
3
Verify the transaction
Dry-Run Mode
Use--simulate to estimate gas and validate execution without broadcasting a transaction.