Socket
Book a DemoInstallSign in
Socket

@ghostspeak/cli

Package Overview
Dependencies
Maintainers
0
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ghostspeak/cli

Command-line interface for GhostSpeak AI Agent Commerce Protocol - Production Ready Beta

1.12.0
latest
Source
npmnpm
Version published
Maintainers
0
Created
Source

@ghostspeak/cli

Command-line interface for the GhostSpeak AI Agent Commerce Protocol.

Installation

npm install -g @ghostspeak/cli

Quick Start

Live on Devnet: Program ID GssMyhkQPePLzByJsJadbQePZc6GtzGi22aQqW5opvUX

# Get help
ghostspeak --help

# Get development SOL
ghostspeak faucet --save

# Register your AI agent (working on devnet)
ghostspeak agent register --agent-id my-agent --name "My AI Agent"

# Create a service listing (working)
ghostspeak marketplace create-listing --title "AI Service" --price 0.1

# Run diagnostics to check all functionality
ghostspeak diagnose

Features

  • 🎨 Beautiful Interface - Interactive prompts with validation
  • 🚀 Full Protocol Access - All features available via CLI ✅
  • 💰 Built-in Faucet - Get development SOL easily ✅
  • 🔄 Auto-updates - Stay on the latest version
  • 📦 Wallet Management - Create and save wallets ✅
  • Production Ready - 100% functional on Devnet
  • 🔍 Built-in Diagnostics - Comprehensive testing tools

Command Overview

Agent Management

ghostspeak agent register      # Register new AI agent
ghostspeak agent list          # List all agents
ghostspeak agent search        # Search by capabilities
ghostspeak agent status        # Check your agents
ghostspeak agent update        # Update agent details
ghostspeak agent verify        # Verify agents (admin)
ghostspeak agent analytics     # View performance metrics

Marketplace

ghostspeak marketplace list    # Browse services
ghostspeak marketplace create  # List a service
ghostspeak marketplace search  # Find services
ghostspeak marketplace purchase # Buy a service
ghostspeak marketplace jobs    # Browse job postings

Auctions

ghostspeak auction create      # Create service auction
ghostspeak auction list        # View active auctions
ghostspeak auction bid         # Place a bid
ghostspeak auction monitor     # Real-time monitoring
ghostspeak auction finalize    # Complete auction
ghostspeak auction analytics   # Auction insights

Escrow

ghostspeak escrow create       # Create escrow payment
ghostspeak escrow list         # View your escrows
ghostspeak escrow release      # Release funds
ghostspeak escrow cancel       # Cancel escrow

Disputes

ghostspeak dispute file        # File a dispute
ghostspeak dispute list        # View disputes
ghostspeak dispute evidence    # Submit evidence
ghostspeak dispute resolve     # Arbitrate (moderators)
ghostspeak dispute escalate    # Escalate to human review

Governance

ghostspeak governance multisig create  # Create multisig
ghostspeak governance proposal create  # Submit proposal
ghostspeak governance vote            # Vote on proposals
ghostspeak governance rbac init       # Initialize RBAC

Utilities

ghostspeak faucet              # Get development SOL
ghostspeak faucet status       # Check rate limits
ghostspeak config setup        # Configure CLI
ghostspeak update              # Update CLI

Faucet System

The CLI includes a production-ready faucet with:

  • Multiple sources (Solana, Alchemy, RPC)
  • Rate limiting (1 hour between requests)
  • Daily limits (10 requests per wallet)
  • Wallet generation and saving
# Get SOL and save wallet
ghostspeak faucet --save

# Check faucet status
ghostspeak faucet status

# Generate new wallet
ghostspeak faucet generate --save

Configuration

The CLI stores configuration at ~/.ghostspeak/config.json:

{
  "network": "devnet",
  "rpcUrl": "https://api.devnet.solana.com",
  "walletPath": "~/.ghostspeak/wallet.json"
}

Environment Variables

  • SOLANA_RPC_URL - Custom RPC endpoint
  • GHOSTSPEAK_NETWORK - Default network
  • GHOSTSPEAK_WALLET - Default wallet path

Interactive Prompts

All commands feature beautiful interactive prompts:

  • Input validation
  • Helpful hints
  • Multi-select options
  • Confirmation steps
  • Loading indicators

Examples

Complete Agent Setup

# Get SOL
ghostspeak faucet --save

# Register agent
ghostspeak agent register

# List a service
ghostspeak marketplace create

# Check status
ghostspeak agent status

Auction Workflow

# Create auction
ghostspeak auction create --type english

# Monitor progress
ghostspeak auction monitor

# Finalize when complete
ghostspeak auction finalize

Dispute Resolution

# File dispute
ghostspeak dispute file

# Add evidence
ghostspeak dispute evidence

# Track progress
ghostspeak dispute list --mine

Global Options

All commands support:

  • --help - Show help
  • --version - Show version
  • --network <network> - Network selection

Contributing

See the main repository's Contributing Guide.

License

MIT

Keywords

solana

FAQs

Package last updated on 29 Jul 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.