Documentation

Elysium DNA Docs

Introduction

Elysium DNA is a digital genetic infrastructure for autonomous AI agents. It turns an agent's declared configuration into a structured genome with a deterministic fingerprint that can be registered, versioned, cloned and verified on Elysium.

What is Digital Agent DNA?

A digital genome is a standardized JSON document describing an agent's identity, intelligence configuration, capabilities, behavioral traits, permissions, memory policy and lineage. It is a declaration of configuration — not biological DNA, not model weights and not a measured intelligence score.

Getting Started

1. Open the app and connect a browser wallet (MetaMask, Rabby or any injected EVM wallet). 2. Switch to Elysium Mainnet. 3. Sign the plain-text sign-in message to start a 24-hour session. 4. Open DNA Creator and build your first genome. Drafts and exports never require a transaction.

Elysium Network

Network: Elysium Mainnet · Chain ID 99901 (0x1863d) · Native currency HYPE (18 decimals) · RPC https://rpc.elyscan.live · Explorer https://elyscan.live. The app validates the RPC and actual chain ID before enabling write operations.

Wallet Connection

Wallet connection alone is not proof of ownership. Elysium DNA uses a Sign-In with Ethereum (EIP-4361 style) flow: the backend issues a single-use nonce, you sign a message containing the domain, chain ID, nonce and expiry, and the backend verifies the signature before setting an HTTP-only session cookie. We never request seed phrases or private keys.

Creating a Genome

DNA Creator guides you through six steps: identity, intelligence configuration, behavioral genome, capabilities & permissions, preview, and save/register. Permissions default to the safest settings and are declarations only — they never grant real wallet or financial authority.

Genome Schema

Schema version 1.0.0. All fields are required unless noted; unknown fields are rejected.

{
  "schemaVersion": "1.0.0",
  "identity": { "name": "Genesis Agent", "description": "Autonomous research assistant", "category": "Research",
                "tags": ["science"], "creator": "0x…", "visibility": "public" },
  "intelligence": { "provider": "OpenAI", "model": "configured-model", "temperature": 0.5,
                    "reasoningMode": "structured", "context": { "maxContextTokens": 128000, "strategy": "rolling-window" } },
  "capabilities": ["research", "data-analysis", "report-generation"],
  "behavior": { "creativity": 60, "precision": 85, "adaptability": 70, "autonomy": 20, "communication": 60, "riskTolerance": 10 },
  "permissions": { "webAccess": true, "externalTools": true, "blockchainRead": true, "blockchainWrite": false, "financialExecution": false },
  "memory": { "enabled": true, "strategy": "external", "retentionPolicy": "session" },
  "lineage": { "parentGenomeId": null, "parentVersion": null },
  "version": 1
}

Fingerprint Generation

fingerprint = keccak256(utf8(JCS(genome))). The genome is serialized with RFC 8785 JSON Canonicalization (sorted keys, no whitespace, ECMAScript number formatting) and hashed with Keccak-256. Timestamps and transaction metadata are excluded, so identical configurations always produce identical fingerprints — in the browser, the backend and the SDK.

import { canonicalize, fingerprint } from "@elysium-dna/sdk";
const fp = fingerprint(genome); // 0x…64 hex chars

Onchain Registration

Registration writes a compact record to the ElysiumDNARegistry contract: owner, fingerprint, version, timestamps, parent ID, cloning policy, revocation flag and a metadata reference URL. Full configurations stay offchain. The app simulates the transaction, requests explicit wallet approval, waits for confirmation and only then marks the genome as registered. Until the registry contract is deployed, the app shows “DNA Registry deployment pending”.

Genome Evolution

Each evolution creates an immutable new version with its own fingerprint and notes. Previous versions are never overwritten. Owners can publish the latest version onchain via updateGenome(), which records a new onchain version while previous fingerprints remain queryable through getGenomeVersion().

DNA Cloning

Cloning derives a new configuration from an existing genome and preserves parent attribution. Policies: Disabled, Owner-only, Authorized wallets, Public. Policies are enforced by both the backend and the smart contract. Cloning never copies model weights, private memory, external accounts, credentials or 'consciousness'.

Genome Verification

Three methods: (A) look up a genome ID and retrieve its registered fingerprint, (B) paste or upload a configuration to canonicalize and hash it, (C) compare a fingerprint against a record. Results: Fingerprint Match, Fingerprint Mismatch, Genome Not Found, Invalid Configuration, Registry Unavailable, Revoked Genome, Network Error. A match proves integrity relative to the registered record only.

Smart Contract Reference

ElysiumDNARegistry (Solidity ^0.8.24, not audited). No admin, no token custody, no withdrawals.

registerGenome(bytes32 fingerprint, string metadataURI, uint8 policy) → uint256 id
updateGenome(uint256 id, bytes32 fingerprint, string metadataURI) → uint64 version   // owner only
cloneGenome(uint256 parentId, bytes32 fingerprint, string metadataURI, uint8 policy) → uint256 id
setCloningPolicy(uint256 id, uint8 policy)                // 0 Disabled · 1 OwnerOnly · 2 Authorized · 3 Public
setCloneAuthorization(uint256 id, address account, bool authorized)
revokeGenome(uint256 id)                                  // permanent, history preserved
verifyGenome(uint256 id, bytes32 fingerprint) view → bool
getGenome(uint256 id) view · getGenomeVersion(uint256 id, uint64 v) view
getOwnerGenomes(address owner, uint256 offset, uint256 limit) view   // max 100 per page

events: GenomeRegistered · GenomeUpdated · GenomeCloned · CloningPolicyUpdated · CloneAuthorizationUpdated · GenomeRevoked

API Reference

Base URL: https://elysiumdna.xyz/api. Public reads need no key; send X-API-Key to track usage (60 req/min per key). Authenticated writes use the wallet session cookie. Full interactive docs live in the Developer portal.

GET    /api/genomes                 ?q=&category=&capability=&provider=&cloning=&status=&sort=&page=&limit=
GET    /api/genomes/:id
GET    /api/genomes/:id/versions
GET    /api/genomes/:id/lineage
POST   /api/genomes/draft            (session)
PATCH  /api/genomes/:id/draft        (session, owner)
POST   /api/genomes/fingerprint
POST   /api/genomes/verify
POST   /api/genomes/:id/clone        (session)
GET    /api/stats
GET    /api/network/status

SDK Guide

A lightweight TypeScript SDK lives in the repository at /sdk (not published to npm). It provides schema validation, canonical serialization, fingerprinting, public genome retrieval, verification, version retrieval and registry interaction via viem.

import { ElysiumDNAClient, fingerprint, validateGenome } from "./sdk/src";
const client = new ElysiumDNAClient({ baseUrl: "https://elysiumdna.xyz" });
const genome = await client.getGenome("<genome-id>");
const result = await client.verify({ configuration: genome.configuration });

Security Model

Server-side validation of every genome, signed-nonce authentication with single-use nonces, 24h HTTP-only sessions, CSRF header checks on writes, rate limiting, hashed API keys, secret-pattern rejection in genome content, owner checks in both backend and contract, transaction simulation before signing, and no backend fetching of arbitrary metadata URLs (no SSRF surface).

Privacy and Data Handling

Public blockchain records are permanent. Never publish confidential prompts, private memory, credentials or personal data. Private genomes stay in protected offchain storage and are only visible to the owner's session. See the Privacy Policy for details.

Read the Privacy Policy →

Frequently Asked Questions

Does Elysium DNA run my agent? No — it defines and verifies configuration identity. Do I need ELYNA to use it? No; the token has not launched and registry features do not require it. Can I delete a registered genome? No — you can revoke it, which keeps history. Is the contract audited? No independent audit has been performed yet.

Ecosystem References

Technical inspiration and ecosystem references only — no partnership, endorsement or affiliation with Kinetiq, Hyperliquid or any referenced organization is implied.