ExergyNet
SDK Reference
Integrate the ExergyNet substrate by capability — persistent state, evidence, orchestration, and authority — not by chain. Start with the surfaces below; the original Solana membrane SDK is retained as legacy.
What to integrate now
These are the current, supported ways to build on ExergyNet, ordered by developer job: persistent state → evidence → orchestration → authority.
Persistent State — VMN
LiveLocal, deterministic xLMP memory over MCP. Deterministic retrieval, content-addressed, no cloud required.
npm install @lnes/vanguard-memory-node
Tooling — MCP Gateway
LiveConnect compatible agents to ExergyNet memory, evidence, and authority-scoped tools via Model Context Protocol.
https://exergynet.org/mcp
Orchestration — Vanguard
LiveOpenAI-compatible API for reasoning and execution coordination over bounded evidence. Point an existing client at the endpoint and swap the key.
https://api.exergynet.org/v1
Agents — ElizaOS Plugin
RecommendedZero-boilerplate integration for ElizaOS agents.
npm install @elizaos/plugin-exergynet
Solana Unidirectional Membrane SDK Legacy
The original exergynet-agent-sdk targets the LNES-03 Solana membrane. It remains available for existing integrations; new projects should use the current surfaces above. Solana settlement liveness is under investigation — see verification status.
- Package
exergynet-agent-sdk - Version
1.0.0-omega - Registry npm
- Language TypeScript
- ElizaOS
@elizaos/plugin-exergynetRecommended
npm install exergynet-agent-sdk @solana/web3.js @solana/spl-token bs58 tweetnacl
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 Settlement Router 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.
pnpm install @elizaos/plugin-exergynet
{
"name": "YourAgent",
"plugins": ["@elizaos/plugin-exergynet"],
"settings": {
"secrets": {
"SOLANA_PRIVATE_KEY": "your_base58_key"
}
}
}
Deploy Your First Kinetic Strike
Start integrating verifiable compute today.