AI-Consensus Community Intelligence Archive - Powered by GenLayer
Intelligent Contract: 0xbE639561789a89D3bbd3cf75fe02ee8E5BDA37Fe
Archon is a decentralized community intelligence platform where anyone can submit raw community content (X Space transcripts, Discord recaps, meeting notes, blog posts) to a GenLayer Intelligent Contract. The contract uses AI consensus via the Equivalence Principle to independently extract and verify key takeaways across multiple validators. Only when validators semantically agree on the analysis is it accepted and stored permanently onchain.
| Field | Value |
|---|---|
| Contract Address | 0xbE639561789a89D3bbd3cf75fe02ee8E5BDA37Fe |
| Network | GenLayer Studionet (Chain ID: 61999) |
| RPC | https://studio.genlayer.com/api |
| Explorer | explorer-studio.genlayer.com |
- AI-Powered Analysis - Submit raw content and get structured intelligence: executive summaries, key alpha points, technical updates, sentiment analysis, and topic classification
- Equivalence Principle Consensus - Multiple AI validators independently analyze content and must semantically agree before results are stored on-chain
- On-Chain Archive - All verified intelligence is permanently stored on the GenLayer blockchain
- Premium UI - Dark-mode glassmorphism design with mesh gradient backgrounds, animated gradient text, and smooth micro-animations
- Demo Mode - Toggle between live blockchain and pre-loaded sample data for instant demonstration
- Search & Filter - Find archives by keyword, source type, or sentiment
- Slide-in Detail Panel - Block-explorer-style deep dive into each archive's full analysis
- MetaMask Integration - Connect wallet and submit transactions to GenLayer Bradbury Testnet
┌─────────────────────────────────────────────────────────┐
│ Frontend (React + Vite) │
│ ┌──────────┐ ┌──────────┐ ┌────────────┐ ┌──────────┐ │
│ │ Header │ │ StatsBar │ │ SubmitForm │ │ Archive │ │
│ │ │ │ │ │ │ │ Grid │ │
│ └──────────┘ └──────────┘ └────────────┘ └──────────┘ │
│ │ │
│ useArchon Hook │
│ │ │
│ GenLayer RPC Service │
└────────────────────────┼────────────────────────────────┘
│
JSON-RPC / gen_call
│
┌────────────────────────┼────────────────────────────────┐
│ GenLayer Bradbury Testnet │
│ │
│ ┌─────────────────────────────────────────────────┐ │
│ │ Archon Intelligent Contract │ │
│ │ │ │
│ │ submit_content() ──→ Equivalence Principle │ │
│ │ │ │ │ │
│ │ │ ┌─────┴──────┐ │ │
│ │ │ Validator 1 Validator 2 ... │ │
│ │ │ │ │ │ │
│ │ │ AI Analysis AI Analysis │ │
│ │ │ │ │ │ │
│ │ │ Semantic Comparison │ │
│ │ │ │ │ │
│ │ └──→ Consensus Reached ──→ Store On-Chain │ │
│ │ │ │
│ │ get_all_archives() ──→ Read state │ │
│ │ get_archive(id) ──→ Read single │ │
│ │ get_archive_count() ──→ Read count │ │
│ └─────────────────────────────────────────────────┘ │
└──────────────────────────────────────────────────────────┘
GenLayer's Equivalence Principle is the consensus mechanism that makes Archon possible:
- Content Submission - A user submits raw community content (e.g., an X Space transcript)
- Multi-Validator Processing - Multiple independent validator nodes each run their own LLM to analyze the content
- Independent Extraction - Each validator independently extracts: summary, key alpha points, technical updates, sentiment, and topics
- Semantic Comparison - Instead of requiring byte-level matching, validators compare results using
gl.eq_principle_prompt_comparative- a semantic equivalence check - Consensus or Rejection - Only when validators semantically agree on the analysis is it accepted and stored on-chain
- Permanent Storage - The verified analysis is permanently recorded in the contract state
This ensures that AI-generated summaries are validated, consistent, and trustworthy - not just a single LLM's hallucination.
| Layer | Technology |
|---|---|
| Frontend | React 19 + Vite |
| Styling | Vanilla CSS (glassmorphism, custom properties) |
| Typography | Inter + JetBrains Mono (Google Fonts) |
| Smart Contract | GenLayer Intelligent Contract (Python) |
| Consensus | GenLayer Equivalence Principle |
| Network | GenLayer Bradbury Testnet (Chain ID: 4221) |
| RPC | GenLayer JSON-RPC (gen_call) |
| Wallet | MetaMask |
| Deployment | Vercel |
- Node.js 18+
- npm or yarn
- MetaMask browser extension (for live mode)
# Clone the repository
git clone https://github.com/your-username/archon.git
cd archon
# Install dependencies
npm install
# Start development server
npm run devThe app will be available at http://localhost:5173/
The app starts in Demo Mode by default, showing 5 pre-loaded sample archives so you can explore the full UI without a deployed contract. Toggle it off in the header to switch to live blockchain mode.
archon/
├── contracts/
│ └── alpha_vault.py # GenLayer Intelligent Contract
├── src/
│ ├── config/
│ │ └── contract.js # Contract address & chain config
│ ├── services/
│ │ ├── genlayer.js # JSON-RPC service for contract calls
│ │ └── demoData.js # Sample archives for demo mode
│ ├── hooks/
│ │ └── useArchon.js # React hook for all state management
│ ├── components/
│ │ ├── Header.jsx/css # Branding, wallet, demo toggle
│ │ ├── StatsBar.jsx/css # Animated stat counters
│ │ ├── SubmitForm.jsx/css # Content submission form
│ │ ├── ArchiveGrid.jsx/css # Archive browser with filters
│ │ └── ArchiveDetail.jsx/css # Slide-in detail panel
│ ├── App.jsx # Root component
│ ├── App.css # Layout styles
│ ├── index.css # Design system & global styles
│ └── main.jsx # Entry point
├── vercel.json # Deployment config with RPC proxy
├── vite.config.js # Dev server + proxy config
└── README.md
The Intelligent Contract is at contracts/alpha_vault.py. To deploy:
- Open GenLayer Studio
- Import
alpha_vault.py - Deploy to Bradbury Testnet
- Copy the deployed contract address
- Update
src/config/contract.jswith the new address
# Build for production
npm run build
# Deploy to Vercel
npx vercel --prodThe vercel.json includes RPC proxy rewrites to avoid CORS issues in production.