Back

DOCUMENTATION

Getting Started

Iteratix offers an autonomous coding agent that enables seamless creation of Solana programs. Connect to the platform, initiate program creation, and let Iteratix handle the entire development process autonomously.

npm install @iteratix/client

Core Concepts

Autonomous Program Creation

An AI-driven process that intelligently generates and deploys Solana programs based on recursive coding techniques. Each program iteration is optimized for performance and scalability.

• Deployment Time: Near-instantaneous

• Program Size: Optimized for minimal resource usage

• Iteration Count: Unlimited

Recursive Execution

The ability to continuously build upon previous iterations, enhancing functionality and efficiency. Every execution is independently verifiable and maintains integrity.

• Verification method: On-chain integrity checks

• Execution confidence: High, based on historical performance

• Failure mode: Auto-retry on execution errors

API Endpoints

GET/v1/programs/:chain/:programId

Retrieve details of a specific Solana program deployed on the target chain.

POST/v1/programs/deploy

Initiate the deployment of a new Solana program with specified parameters.

GET/v1/iterations/:chain/:programId

Query the latest iteration details and execution status for a specific program.

POST/v1/verify

Submit a program execution proof for independent verification against the integrity protocols.

Integration Guide

Basic Connection

import { IteratixClient } from '@iteratix/client'

const client = new IteratixClient({
  apiKey: process.env.ITERATIX_API_KEY,
  network: 'mainnet'
})

// Deploy a new program
const deployment = await client.deployProgram('myProgram', { /* program parameters */ })
console.log(deployment.status) // 'success'

Program Iteration

// Initiate a new iteration
const iteration = client.startIteration({
  programId: 'myProgram',
  updates: { /* updates to apply */ }
})

iteration.on('success', (result) => {
  console.log('New program iteration:', result.data)
})

iteration.on('error', (err) => {
  console.error('Iteration error:', err)
})

Developer Notes

Rate Limits

Free tier: 100 iterations/minute. Staked tier (10K+ $TRTX): 1000 iterations/minute. Enterprise: Unlimited (custom $TRTX stake required).

Program Verification

All program executions include verification parameters. The client SDK verifies locally by default. Disable with verifyLocal: false to trust network consensus.

Error Handling

Network rejects invalid program submissions immediately. Failed executions return verified: false with detailed rejection reason. Always ensure you are working with verified data.