Glitch Gremlin AI
  • 👹 Glitch Gremlin AI - Embrace The Chaos!
  • High-Level Architecture
    • GlitchGremlinProgram (On-Chain)
      • Data Structures and Accounts
    • Off-Chain AI Engine
      • AI Modules
  • 🤖 Chaos-as-a-Service (CaaS)
  • Security and Abuse Prevention
  • Token Mechanics and Distribution
    • Token Details
    • Token Utility
  • Governance and Community Chaos Challenges
  • Roadmap & Milestones
  • Developer Tools and Documentation
    • Getting Started
    • Audit Preparation
    • SDK Reference
    • CLI Tools
    • Test Types
    • Governance Features
    • AI Listener Service Setup
    • AI-Driven Vulnerability Detection
    • Monitoring
    • AI Workflow
    • zkVM Integration
Powered by GitBook
On this page
  • Overview
  • Quick Start
  • Installation
  • Documentation Sections

Developer Tools and Documentation

Overview

Glitch Gremlin AI provides Chaos-as-a-Service (CaaS) for Solana dApps through a combination of on-chain programs and off-chain AI testing capabilities.

Quick Start

import { GlitchSDK } from '@glitch-gremlin/sdk';

// Initialize SDK
const sdk = new GlitchSDK({
    cluster: 'devnet',
    wallet: yourWallet
});

// Create a chaos request
const request = await sdk.createChaosRequest({
    targetProgram: "Your program ID",
    testType: "FUZZ",
    duration: 300, // 5 minutes
    intensity: 5
});

// Monitor results
const results = await request.waitForCompletion();

Check out our examples directory for more sample code:

  • quick-test.ts: Simple test using an ephemeral wallet

  • basic-test.ts: More detailed test with custom parameters

  • governance-proposal.ts: Example of creating a governance proposal

Installation

npm install @glitch-gremlin/sdk
# or
yarn add @glitch-gremlin/sdk

Documentation Sections

PreviousRoadmap & MilestonesNextGetting Started

Last updated 5 months ago

Getting Started
Audit Preparation
SDK Reference
CLI Tools
Chaos Test Types
Governance
AI Listener Service Setup
AI-Driven Vulnerability Detection
Monitoring
AI Workflow
zkVM Integration