Institutional-grade CLI for Alchemy API authentication and wallet management — EVM and Solana.
Requires Node.js >= 22
npm i -g @alchemy/cli@latestalchemy auth login # store API key in system keychain
alchemy auth status # confirm stored credentials
alchemy wallet connect # connect wallet + view balances| Subcommand | Description |
|---|---|
auth login |
Store Alchemy API key in system keychain |
auth status |
View current auth + network |
auth logout |
Clear stored credentials |
| Subcommand | Description |
|---|---|
wallet connect |
Connect wallet, validate address, show balances |
wallet balances |
Fetch token balances for any address |
eth-mainnet · eth-sepolia · solana-mainnet · solana-devnet · polygon-mainnet · arb-mainnet · base-mainnet · opt-mainnet
| Feature | Usage |
|---|---|
Native fetch global |
All HTTP calls — no node-fetch dependency |
node: protocol imports |
node:fs, node:path, node:os in config.ts |
Promise.allSettled |
Parallel token metadata fetching in wallet.ts |
BigInt literals (10n) |
Precise token decimal arithmetic |
satisfies operator |
TypeScript strict type narrowing on return objects |
| ES2023 target | tsconfig.json + @types/node ^22 |
git tag v1.0.0 && git push origin v1.0.0Requires NPM_TOKEN in GitHub repository secrets → Settings → Actions.
MIT