A collection of Intelligent Contracts built on GenLayer — the AI-native blockchain that brings verifiable trust to smart contracts using LLM consensus.
Deployed and tested on GenLayer Testnet Bradbury (March 2026)
Testnet Bradbury Hackathon — March 20 – April 3, 2026
FactLayer is a decentralized fact-checking protocol built on GenLayer. Anyone submits a claim + source URL. Multiple AI validators independently fetch the URL, analyze the content, and vote. LLM consensus produces a tamper-proof verdict stored on-chain: ✅ TRUE / ❌ FALSE / ❓ UNVERIFIABLE.
- Contract:
contracts/factlayer.py - Frontend:
frontend/index.html - Full docs:
contracts/README_FACTLAYER.md
This would be impossible on Ethereum or Solana — GenLayer is the only chain that can fetch live web content and run LLM inference as part of consensus.
GenLayer is a blockchain where smart contracts can:
- Query the live internet
- Process unstructured data (text, images, news)
- Make AI-driven subjective decisions via multi-LLM consensus
Traditional smart contracts are deterministic. GenLayer's Intelligent Contracts are not — they can reason.
| Contract | Description | Status |
|---|---|---|
factlayer.py |
Decentralized fact-checking via web fetch + LLM consensus | Hackathon 🏆 |
llm_query.py |
Queries a live URL and extracts information via LLM | Deployed ✅ |
ai_vote.py |
Multi-option AI voting system with LLM-based result validation | Deployed ✅ |
price_checker.py |
Fetches and validates live asset prices via web + AI consensus | Deployed ✅ |
- MetaMask wallet
- GenLayer Testnet added to MetaMask
- Testnet GEN tokens from faucet
| Field | Value |
|---|---|
| Network Name | GenLayer Testnet Bradbury |
| RPC URL | See portal or Studio |
| Chain ID | (shown in Studio on connect) |
| Currency Symbol | GEN |
- Go to: https://testnet-faucet.genlayer.foundation/
- Solve captcha → Request Tokens
- Wait for confirmation in MetaMask
- Open GenLayer Studio
- Connect your wallet
- Paste or upload a contract from this repo
- Click Run and Debug (▶ play button)
- Confirm transaction in MetaMask
Full step-by-step guide for Windows users: 👉 Getting Started on Windows
Built by @efidal as part of the GenLayer Testnet Bradbury Hackathon 2026. Twitter: @MehdiFidal