0.0.3 • Published 9 months ago
ledgerai v0.0.3
LedgerAI
CLI tool for managing AI agent wallets and cards
A powerful CLI tool for managing wallets and virtual cards for AI agents. Built with Circle's developer-controlled wallets.
Features
Wallet Management
- Create and manage developer-controlled wallets
- View wallet balances and transactions
- Support for multiple blockchains
Configuration Management
- Easy setup with CLI configuration commands
- Secure storage of API keys and secrets
- Environment management (sandbox/production)
Installation
npm install -g ledgeraiQuick Start
- Install the CLI tool:
npm install -g ledgerai- Configure your API credentials:
ledgerai config set-key YOUR_API_KEY
ledgerai config set-secret YOUR_ENTITY_SECRET
ledgerai config set-wallet-set YOUR_WALLET_SET_ID- Create a new wallet:
ledgerai wallet create --name "My AI Wallet" --type funding --blockchain ETHCommands
Configuration
ledgerai config set-key <apiKey>- Set your Circle API keyledgerai config set-secret <secret>- Set your Circle entity secretledgerai config set-wallet-set <walletSetId>- Set your wallet set IDledgerai config set-env <environment>- Set environment (sandbox/production)ledgerai config view- View current configurationledgerai config clear- Clear all configuration
Wallet Management
ledgerai wallet create- Create a new walletledgerai wallet list- List all walletsledgerai wallet balance <walletId>- Get wallet balanceledgerai wallet transactions <walletId>- View wallet transactions
Environment Variables
The following environment variables can be used:
CIRCLE_API_KEY=your_api_key
CIRCLE_ENTITY_SECRET=your_entity_secret
CIRCLE_WALLET_SET_ID=your_wallet_set_id
CIRCLE_TOKEN_ID=your_token_idDevelopment
- Clone the repository:
git clone https://github.com/solarium/ledgerai.git- Install dependencies:
cd ledgerai
npm install- Build the project:
npm run build- Run in development mode:
npm run devContributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
MIT © Solarium