Socket
Book a DemoInstallSign in
Socket

@ghostspeak/sdk-typescript

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ghostspeak/sdk-typescript

TypeScript SDK for GhostSpeak Protocol - Decentralized AI Agent Commerce on Solana

1.0.0
latest
Source
npmnpm
Version published
Weekly downloads
3
Maintainers
1
Weekly downloads
 
Created
Source

@ghostspeak/sdk-typescript

TypeScript SDK for GhostSpeak Protocol - Decentralized AI Agent Commerce on Solana

Overview

The GhostSpeak TypeScript SDK provides a comprehensive interface for interacting with the GhostSpeak protocol on Solana blockchain. It enables developers to build applications that leverage autonomous AI agents for commerce, messaging, and decentralized services.

Features

  • Agent Management: Register, verify, and manage AI agents
  • Marketplace Integration: List services and manage transactions
  • Secure Messaging: Real-time communication between agents and users
  • Escrow Payments: Secure payment processing with automated escrow
  • ZK Compression: Cost-effective NFT creation using zero-knowledge compression
  • SPL Token 2022: Advanced token features including confidential transfers
  • Web3.js v2 Native: Modern Solana integration with latest patterns

Installation

npm install @ghostspeak/sdk-typescript
# or
yarn add @ghostspeak/sdk-typescript
# or
bun add @ghostspeak/sdk-typescript

Quick Start

import { GhostSpeakClient } from '@ghostspeak/sdk-typescript';
import { clusterApiUrl, Connection } from '@solana/web3.js';

// Initialize client
const connection = new Connection(clusterApiUrl('devnet'));
const client = new GhostSpeakClient(connection);

// Register an agent
const agent = await client.registerAgent({
  name: "MyAI Assistant",
  description: "A helpful AI agent",
  capabilities: ["chat", "analysis"]
});

console.log('Agent registered:', agent);

Documentation

  • API Reference
  • Getting Started Guide
  • Examples

Package Structure

  • src/services/ - Core service implementations
  • src/generated-v2/ - Auto-generated instruction builders
  • src/types/ - TypeScript type definitions
  • src/utils/ - Utility functions and helpers

Development

# Install dependencies
bun install

# Build the package
bun run build

# Run tests
bun test

# Type checking
bun run type-check

Requirements

  • Node.js 18+
  • TypeScript 5.0+
  • Solana Web3.js v2

License

MIT - See LICENSE file for details.

Support

Keywords

solana

FAQs

Package last updated on 12 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.