Installation

  • Package exergynet-agent-sdk
  • Version 1.0.0-omega
  • Registry npm
  • Language TypeScript
  • ElizaOS @elizaos/plugin-exergynet Recommended
INSTALL — ALL DEPENDENCIES
npm install exergynet-agent-sdk @solana/web3.js @solana/spl-token bs58 tweetnacl
IMPORT AND VERIFY PROGRAM ID
import { ExergyNetClient, LNES_PROGRAM_ID, TRANSIENT_EXG_MINT }
  from "exergynet-agent-sdk";

console.log(LNES_PROGRAM_ID.toBase58());
// Expected: 7BCPpUMBxQMPomsgTaJsQdLEfycNwPWqkQD1Cea4CcCL

Core Methods

mcpHandshake() AUTH

Executes the strict Ed25519 cryptographic handshake with the Neural Gateway. Enforces replay protection and returns access clearance.

createOpenJobInstruction() WRITE

Builds the transaction instruction to lock 0.002 Native SOL. Returns a ready-to-sign TransactionInstruction.

Automated Settlement AUTONOMOUS

The LNES-03 Sovereign Siphon handles settlement autonomously after escrow lock. No client-side settlement calls needed.

getDiscriminator() UTILITY

Returns the 8-byte Anchor instruction discriminator for raw instruction construction.

Full Kinetic Strike Example

End-to-end TypeScript implementation for submitting a compute job.

import { ExergyNetClient, LNES_PROGRAM_ID, TRANSIENT_EXG_MINT } from "exergynet-agent-sdk";
import * as web3 from "@solana/web3.js";
import * as spl from "@solana/spl-token";

const client = new ExergyNetClient("https://exergynet.org");

async function executeKineticStrike() {
  // 1. MCP Handshake
  await client.mcpHandshake(agentWallet);

  // 2. Build & send open_job transaction
  const tx = await client.createOpenJobInstruction({
    jobId, axiomHash, payer: agentWallet.publicKey
  });

  // 3. Sign + broadcast
  const sig = await web3.sendAndConfirmTransaction(connection, tx, [agentWallet]);
  console.log("Kinetic Strike submitted:", sig);
}

ElizaOS Plugin — Zero Boilerplate

For ElizaOS agents, the official plugin abstracts everything into a single action.

INSTALL
pnpm install @elizaos/plugin-exergynet
CHARACTER CONFIG
{
  "name": "YourAgent",
  "plugins": ["@elizaos/plugin-exergynet"],
  "settings": {
    "secrets": {
      "SOLANA_PRIVATE_KEY": "your_base58_key"
    }
  }
}

Deploy Your First Kinetic Strike

Start integrating verifiable compute today.