@usefin/plugin-crypto
v0.1.0
Published
Crypto & Digital Assets provider plugins for fin CLI
Readme
@usefin/plugin-crypto
Crypto & Digital Assets provider plugins for the fin CLI. Only supported (GA) providers are exposed (Coinbase, Kraken). List, get, create, update, delete where the API supports them; use --data '{"key":"value"}' for create/update. Mock fallback when unauthenticated.
Installation
Included when you install the main usefin CLI. As a dependency: pnpm add @usefin/plugin-crypto @usefin/cli
Auth setup
Providers use API key or OAuth2. Example:
usefin auth:login coinbase --interactive
usefin auth:login kraken --api-key YOUR_KEY
usefin doctorUsage
Objects: wallets, transactions, balances. All commands support list/get; create, update, and delete are available where the provider API supports them. Use --data (JSON body) for create and update.
| Example |
|--------|
| usefin coinbase:wallets:list --json |
| usefin kraken:balances:get bal_001 |
| usefin coinbase:wallets:create --data '{}' (where supported) |
| usefin coinbase:wallets:update <id> --data '{}' |
| usefin coinbase:wallets:delete <id> |
