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

Last updated