Skip to content

DeASI-INTERFACE/alchemy-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@alchemy/cli

Institutional-grade CLI for Alchemy API authentication and wallet management — EVM and Solana.

Requires Node.js >= 22

Install

npm i -g @alchemy/cli@latest

Quick Start

alchemy auth login        # store API key in system keychain
alchemy auth status       # confirm stored credentials
alchemy wallet connect    # connect wallet + view balances

Commands

alchemy auth

Subcommand Description
auth login Store Alchemy API key in system keychain
auth status View current auth + network
auth logout Clear stored credentials

alchemy wallet

Subcommand Description
wallet connect Connect wallet, validate address, show balances
wallet balances Fetch token balances for any address

Supported Networks

eth-mainnet · eth-sepolia · solana-mainnet · solana-devnet · polygon-mainnet · arb-mainnet · base-mainnet · opt-mainnet

Node 22 Features

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

Publishing

git tag v1.0.0 && git push origin v1.0.0

Requires NPM_TOKEN in GitHub repository secrets → Settings → Actions.

License

MIT

About

@alchemy/cli — Global npm CLI for Alchemy auth and wallet connect flows

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors