JSPM

ailedger

0.0.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 8
  • Score
    100M100P100Q30233F
  • License MIT

CLI tool for managing AI agent wallets and cards

Package Exports

  • ailedger
  • ailedger/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ailedger) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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 ledgerai

Quick Start

  1. Install the CLI tool:
npm install -g ledgerai
  1. 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
  1. Create a new wallet:
ledgerai wallet create --name "My AI Wallet" --type funding --blockchain ETH

Commands

Configuration

  • ledgerai config set-key <apiKey> - Set your Circle API key
  • ledgerai config set-secret <secret> - Set your Circle entity secret
  • ledgerai config set-wallet-set <walletSetId> - Set your wallet set ID
  • ledgerai config set-env <environment> - Set environment (sandbox/production)
  • ledgerai config view - View current configuration
  • ledgerai config clear - Clear all configuration

Wallet Management

  • ledgerai wallet create - Create a new wallet
  • ledgerai wallet list - List all wallets
  • ledgerai wallet balance <walletId> - Get wallet balance
  • ledgerai 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_id

Development

  1. Clone the repository:
git clone https://github.com/solarium/ledgerai.git
  1. Install dependencies:
cd ledgerai
npm install
  1. Build the project:
npm run build
  1. Run in development mode:
npm run dev

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

MIT © Solarium