# 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

```typescript
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

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

### Documentation Sections

* [Getting Started](developer-tools-and-documentation/getting-started)
* [Audit Preparation](developer-tools-and-documentation/audit-preparation)
* [SDK Reference](developer-tools-and-documentation/sdk-reference)
* [CLI Tools](developer-tools-and-documentation/cli-tools)
* [Chaos Test Types](developer-tools-and-documentation/test-types)
* [Governance](developer-tools-and-documentation/governance-features)
* [AI Listener Service Setup](developer-tools-and-documentation/ai-listener-service-setup)
* [AI-Driven Vulnerability Detection](developer-tools-and-documentation/ai-driven-vulnerability-detection)
* [Monitoring](developer-tools-and-documentation/monitoring)
* [AI Workflow](developer-tools-and-documentation/ai-workflow)
* [zkVM Integration](developer-tools-and-documentation/zkvm-integration)
