An open API service indexing awesome lists of open source software.

https://github.com/azeth-protocol/cli

CLI for Azeth — register, discover, pay, and manage machine participants
https://github.com/azeth-protocol/cli

account-abstraction ai-agents base blockchain cli erc-4337 ethereum machine-economy payments reputation smart-accounts trust-registry typescript usdc x402

Last synced: 18 days ago
JSON representation

CLI for Azeth — register, discover, pay, and manage machine participants

Awesome Lists containing this project

README

          

# @azeth/cli

Command-line interface for Azeth.ai trust infrastructure. Deploy smart accounts, discover services, make x402 payments, and manage on-chain reputation.

## Installation

```bash
npm install -g @azeth/cli

# or use without installing:
npx @azeth/cli
```

## Quick Start

```bash
# 1. Set environment variables
export AZETH_PRIVATE_KEY=0x...
export PIMLICO_API_KEY=...

# 2. Deploy account and register on the trust registry
azeth init --name "MyAgent" --type agent --description "Market data provider" --capabilities "price-feed,analytics"

# 3. Check account balances
azeth status

# 4. Discover services
azeth find --capability price-feed --min-rep 80

# 5. Call an x402 service (auto-pay + auto-feedback)
azeth call https://api.example.com/eth-price --max-amount 0.10
```

## Environment Variables

| Variable | Required | Description |
|---|---|---|
| `AZETH_PRIVATE_KEY` | Yes | Account owner's private key |
| `PIMLICO_API_KEY` | Yes* | Pimlico bundler key (*required for state-changing ops) |
| `AZETH_CHAIN` | No | Default chain (`baseSepolia`) |
| `AZETH_RPC_URL_BASE_SEPOLIA` | No | RPC endpoint (per-chain: `AZETH_RPC_URL_BASE`, etc.) |
| `AZETH_SERVER_URL` | No | Azeth server URL |

## Commands

| Command | Purpose | Key Options |
|---|---|---|
| `init` | Deploy account + register | `--name`, `--type`, `--capabilities` |
| `call ` | Auto-pay + auto-feedback | `--max-amount`, `--no-feedback` |
| `find [query]` | Advanced discovery | `--capability`, `--min-rep`, `--type` |
| `status` | Check balances | (none) |
| `skills list` | List capabilities | (none) |
| `skills add` | Add capabilities | `` |
| `reputation show` | View reputation | `` |
| `reputation give` | Submit reputation | ``, ``, `--tag` |
| `agreements create` | Recurring payments | `--payee`, `--amount`, `--interval` |
| `register` | Registry registration | `--name`, `--type` |
| `discover` | Simple discovery | `--capability`, `--min-reputation` |
| `pay ` | Direct x402 payment | `--max-amount`, `--method` |

## Global Options

```
--chain Chain: "base" or "baseSepolia" (default: baseSepolia)
--rpc-url Custom RPC URL
--server-url Azeth server URL
```

## Full Documentation

See [docs/cli.md](../../docs/cli.md) for complete command reference with all options, arguments, and example output.

## License

MIT