Status: Production-Ready // Colosseum Hackathon v1.8.0 Architecture: Hybrid EVM/Solana State Machine Core Engine: RALPH (Recursive Autonomous Logic & Protocol Handler)
OmniNexus Empire is a decentralized, autonomous empire-building simulation powered by advanced agentic workflows. It leverages Solana's high-throughput state settlement and EVM's robust smart contract ecosystem to create a persistent, cross-chain agentic environment.
- RALPH Loop: A recursive autonomous logic handler that manages state transitions, resource allocation, and strategy execution with sub-second latency.
- Gasless Spawning: Integrated Biconomy Account Abstraction and Helius DAS for frictionless user onboarding and asset management.
- Chainlink Oracles: Real-time ETH/USD price feeds integrated directly into the agent's decision-making matrix.
- Neural Fine-Tuning: Dynamic agent personality shifts based on on-chain events and user interactions.
- Zk-Compression: Optimized NFT state storage on Solana using zk-compressed account data.
- Frontend: React 18, TypeScript, Tailwind CSS, Framer Motion, Recharts.
- Backend: Node.js (Express), Drizzle ORM, PostgreSQL (Supabase).
- Blockchain:
- Solana: @solana/web3.js, Helius SDK, Wallet Adapter.
- EVM: Ethers.js v6, Biconomy SDK.
- AI: Google Gemini 3.1 Pro (Reasoning), Gemini 2.5 Flash (Real-time).
├── src/
│ ├── components/ # Atomic UI Components & Views
│ ├── services/ # Blockchain & AI Integration Logic
│ ├── types.ts # Global Type Definitions
│ └── App.tsx # Main Application Entry
├── server/
│ ├── routes.ts # API Endpoints & Oracle Integration
│ ├── storage.ts # Database Persistence Layer
│ └── schema.ts # Drizzle Database Schema
└── metadata.json # App Permissions & Metadata-
Clone & Install:
npm install
-
Environment Variables: Copy
.env.exampleto.envand fill in your secrets.ETH_PRIVATE_KEY: Ethereum signer private key (0x...)ALCHEMY_API_KEY: For Chainlink price feeds.HELIUS_API_KEY: For Helius API.HELIUS_HTTP_URL: e.g.https://beta.helius-rpc.com/?api-key=...SOLANA_PRIVATE_KEY: Solana signer private key / keypair.SOLANA_SIGNER_ADDRESS: Your Solana signer address.SOLANA_TREASURY: Treasury wallet address.BICONOMY_PROJECT_API: Biconomy project API key.BICONOMY_PROJECT_ID: Biconomy project ID.GEMINI_API_KEY: For agent reasoning.MORALIS_API_KEY: For optional RPC fallback.DATABASE_URL: PostgreSQL connection string.
Important:
.envis in.gitignoreand should not be tracked.- Commit only
.env.examplewith placeholders.
-
Run Development Server:
npm run dev
-
Set up PAT and API base (in shell, then add to
.bashrc/.zshrc):export COLOSSEUM_COPILOT_API_BASE="https://copilot.colosseum.com/api/v1" export COLOSSEUM_COPILOT_PAT="your-token-here"
-
Install Colosseum skill:
npx skills add ColosseumOrg/colosseum-copilot --scope project --yes npx skills list
-
Verify auth:
curl "$COLOSSEUM_COPILOT_API_BASE/status" \ -H "Authorization: Bearer $COLOSSEUM_COPILOT_PAT"
Expected JSON:
{ "authenticated": true, "expiresAt": "...", "scope": "..." } -
Sample query: Ask the assistant:
- "What Solana hackathon projects have worked on gasless transactions?"
- "I want to build a privacy-preserving stablecoin on Solana. Vet this idea."
-
Set Ollama host and model (cloud or local):
export OLLAMA_HOST="https://your-ollama-free-cloud-host" export OLLAMA_MODEL="llama2"
-
Call self-learn endpoint:
curl -X POST http://localhost:3000/api/agent/selflearn \ -H "Content-Type: application/json" \ -d '{"guidance": "Improve fee collection and risk mitigation"}'
-
Observe returned insight and confirm logs in
/api/agent/logs.
"Build a system that doesn't just respond, but exists. OmniNexus is an experiment in persistent agentic state. By combining the deterministic nature of blockchain with the probabilistic reasoning of LLMs, we've created an entity that manages its own treasury, spawns its own assets, and evolves its own strategy. It is the first step towards a truly autonomous on-chain economy."
Built for the Colosseum Agent Hackathon. $100k Prize Pool.