JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q37938F
  • License ISC

KeeCLI - Trading CLI for KeetaNetwork

Package Exports

  • keecli
  • keecli/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 (keecli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

KeeCLI

A professional command-line interface for trading on KeetaNetwork.

Installation

Install globally to use as a command-line tool:

npm install -g keecli

Usage

Authentication

All commands require a passphrase for account authentication. You can provide it via:

  • Command line flag: -p "your passphrase"
  • Environment variable: export KEECLI_PASSPHRASE="your passphrase"

Commands

List Available Tokens

keecli list-tokens -p "your passphrase"
keecli list-tokens -p "your passphrase" -r "custom_resolver_address"

List Token Conversions

keecli list-conversions -p "your passphrase" -t "TOKEN_SYMBOL"

Execute Token Swap

keecli swap -p "your passphrase" -f "FROM_TOKEN" -t "TO_TOKEN" -a "1000"

Check Account Balances

keecli balance -p "your passphrase"

Send Tokens

keecli send TOKEN_SYMBOL recipient_address amount -p "your passphrase"

Get Receive Address

keecli receive -p "your passphrase"

Request Test Tokens (Faucet)

keecli faucet -p "your passphrase"

Environment Variables

Set environment variables to avoid repeating common parameters:

export KEECLI_PASSPHRASE="your passphrase"
export KEECLI_RESOLVER="custom_resolver_address"

# Now you can run commands without flags
keecli list-tokens
keecli balance

Global Options

  • -p, --passphrase: Your account passphrase (required)
  • -r, --resolver: Custom resolver address (optional)
  • -h, --help: Show help
  • --version: Show version

Examples

# Check your balances
keecli balance -p "my secure passphrase"

# List all available tokens
keecli list-tokens -p "my secure passphrase"

# Find what you can convert USDC to
keecli list-conversions -t "USDC" -p "my secure passphrase"

# Swap 1000 USDC to ETH
keecli swap -f "USDC" -t "ETH" -a "1000" -p "my secure passphrase"

# Send 500 USDC to someone
keecli send USDC B62qn7... 500 -p "my secure passphrase"

# Get your address to receive tokens
keecli receive -p "my secure passphrase"

License

ISC