ora-io / awesome-ora

A curated list of awesome ORA ecosystem.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

⃝ Awesome ORA

📑 Table of Contents

🌍 Overview

This list focuses on the work related to the ORA ecosystem.

This includes the AI Oracle (OAO, Onchain AI Oracle) ecosystem, the ERC ecosystem co-authored by ORA, and other ORA contributions.

🤖 AI Oracle Ecosystem

A Collection of Projects Built on Onchain AI Oracle (OAO).

Models

  • LlaMA 3: A state-of-the-art large language model for coding.
  • Stable Diffusion: A deep learning, text-to-image model released in 2022 based on diffusion techniques.
  • Grok: A generative artificial intelligence chatbot developed by xAI, based on a large language model.

Examples

  • Prompt: A simple smart contract that uses OAO for LLM responses.
  • SimplePrompt: A simpler, event-only and gas-efficient smart contract that uses OAO for LLM responses.

Tutorials

General

  • Humm Protocol: An AI-based protocol for AI ownership and monetization.
  • AI Intent Engine: An intent engine with OAO, leveraging onchain LlaMA2 to solve user intent in natural language into onchain actions (send, and swap). Also a fork called COCOA for cross-chain usage built during ETHTaipei.
  • Grok vs Llama: An Onchain AI vs Onchain AI project. In this project, LlaMA2 monitors whether Grok is in a Glitch state (related: AI Mirror Test), and if so, the user who initiated the AI request is rewarded with a bounty for finding Grok's "weakness". Built during ETHTaipei.
  • OAOFrame: A Farcaster Frame with fortune-telling powered by Onchain AI.

DeFi

  • Lending Zone: A protocol for borrowing with NFTs as collateral and earning yield by lending assets, powered by AI valuations of NFTs.
  • AI NFT Bot: A pricing engine for NFT assisted with onchain AI. Built during ETHDenver.

AIGC-NFT

  • 7007: An ERC-7007 based platform offering on-chain AIGC generation services and monetizing of AI Models.
  • Onchain AI NFT: An onchain AI NFT project utilizing AI Oracle's Stable Diffusion to generate image NFT directly onchain. Complete tutorial here.
  • OAOLimerick: An onchain AI Limerick NFT using AI Oracle's LlaMA2 for generating poet NFT directly onchain.
  • Graviola NFT: An onchain NFT collection with minimalistic portraits of fictional characters. Built during ETHDenver.
  • ABC-ORA: An ERC-7007 based AIGC music NFT project, using AI Oracle's LLM to generate music notes and mint the piece into NFT. Built during ETHTaipei.
  • PS 6: An AI-generated story NFT protocol. Built during ETHTaipei.

Security

Infrastructure

🔮 ZK Oracle Ecosystem

A List of Projects Built on ZK Oracle.

General

  • CLE (Computational Entity) Examples: A list of CLEs, including Uniswap Price Calculation, zkAutomation-based CLE, and multi-address based CLE. This is the implementation by ORA.
  • zkUsecases: A list of CLEs, including SeaPort Trading Activity, and USDT Transfer Volume Per Block.
  • zkAMM: A zkOracle-based automated market maker that is fully scalable with unlimited computation resources.
  • dETF: A zkOracle-based fully onchain and decentralized ETF protocol.
  • Unic: A decentralized identity platform, using zkOracle for onchain ML.
  • ZKredible: A privacy-preserving and censorship-resistant credit record evaluation system, using zkOracle for onchain aggregation of zkML.
  • zkKYC: A zkOracle-based hook that brings offchain kyc data to onchain Story Protocol. This project was developed during Story Protocol Alpha Hackathon and won second place.

DeFi & DEX & MEV

  • Marine: A CLE as liquidation protocol on Compound Protocol. This is tracking 15+ addresses, and 90+ events at the same time.
  • zkToken: A CLE as ERC-20 token monitor. This monitors whether there is any selling or pumping behavior in the whale account, and then issues an alert signal.
  • Dex Vigil: A CLE that detects anomalous trading behavior and possibly prevents exploits.
  • Cross-chain Asset Transfer: An example CLE implementation of cross-chain asset / token / credit transfer system.
  • MEV Detection: A PoC CLE that proves a user's behavior such as Swap has been harmed by an MEV bot.
  • BTC 2 ETH: A CLE that calculates for BTC to ETH conversion rate.
  • zkInsurance: A CLE that auto-generates proofs for claiming insurance.
  • zkSafeMixer: A CLE that warns downstream contracts if there's blacklisted address's fund in the mixer.
  • Kubera: A CLE that implements verifiable on-chain credit score system. Built during ETHTaipei.

Onchain API Oracle

NFT

Game

  • ZKLife: A full game that implements Conway's Game of Life with multiplayer mode and gaming AI.
  • Game Of Life: A game that implements Conway's Game of Life with game logic computed in zkOracle.

Proof of X

Libraries & Utils

  • zkGraph String Utils: A CLE that helps offload the string operation to offchain and gives the mechanism to prove the offline calculated values.
  • zkGraph Math Utils: A CLE that helps offload Math operations offchain and gives the mechanism to prove the offline calculated values.

Security

  • Secure Watcher: A CLE that watches for activities which are similar to compromise of Private Key.

Others

  • Decentralized Moderation: Content moderation system based on CLE for a decentralized social network or any kind of customized DAO or decentralized network/ecosystem.

💡 Project Ideas

Ideas to Build with AI Oracle or zkOracle.

ai/fi Ideas

ai/fi = AI + DeFi.

ai/fi is the fusion of AI (verifiable AI inference provided by Onchain AI Oracle) and DeFi.

The strategy to transform DeFi into ai/fi is simple: "identify the computationally intensive part of any DeFi protocol and replace it with AI."

Idea Implementation Existing DeFi Protocols to Add AI
AI Aggregator Aggregation with Best Swap Rate with AI 1inch, Paraswap
AI AMM (0) Dynamic Market Making Curves with AI Uniswap v3
AI AMM (1) CowSwap, but with AI as Order Filler Uniswap v3
AI Yield Yield Optimization with AI Convex, Yearn
AI Lending Lending of Any Asset with AI Aave, Compound
AI Stablecoin Stablecoin backed by Arbitrary Asset MakerDAO
AI Governance* AI Proposal Initiation, Review, Explainer Any Protocol with Governance
AI DAO AI-based DAO Management and Enforcement Any Protocol with DAO
...

Read more from ai/fi idea posts: 1, 2.

*: See recursive_llm_organization.

AI Oracle Ideas

Idea Model in ORA OAO (+ Other Tech Stack)
System Prompt Powered AI Model Any
Chat / GPTs with OAO LLM
Specific Agents (Fortune Teller, AI GF...) LLM
"Community Notes" with Onchain AI LLM
Predictor and Analyzer Any
Asset Pricing Financial Models
Simulation LLM or Application-Specific Models
Credit/Risk Analyzer LLM or Financial Models
Sentiment Analysis LLM or Application-Specific Models
Judge of Anything based on Rules* LLM
Trading Bot Wif MEV Financial Models (+ Flashbots SUAVE stack)
Aggregator Financial Models
"Point Guard" Financial Models
Copy-trading Financial Models
AIGC-NFT (Pure, Loot-style, Remixing) Text2Image or Text2Video Models (+ Prompt Engineering / Fine-tuning)
AI as Game Moderator LLM or Application-Specific Models
AI as Governor LLM or Application-Specific Models
AI as NPC LLM or Application-Specific Models
AI as Opponent LLM or Application-Specific Models
AI as Counterparty LLM or Application-Specific Models
Agent for Whale's Governance LLM or Application-Specific Models
Content Moderator LLM
Code Generator LLM
Security Gadget LLM or Application-Specific Models
Bring Your Own Model / (+ Use opML to Integrate New Models into OAO)
Rebuild Everything Any (+ Rebuild All Protocols with AI)

Read more from ORA's idea posts on AI Oracle: 1.

*: Based on InsORAnce idea, LLM can be a judge / verifier of anything. In InsORAnce, LLM judges if insurance should be paid out based on a protocol's hack (truth) and given rules defining a hack (pre-made template / rule). Actually, the truth and pre-made rule can also be: any onchain events (og wallet moves ETH), and even offchain event. So that the InsORAnce idea can be expanded to insurance for anything onchain + offchain.

Infra Ideas

Infra Ideas Details
Paymaster for OAO OAO fees are in $ETH. A paymaster can enable users to pay with $USDT to improve OAO's adoption.
Dashboard for OAO Data analysis or "mempool" dashboard* for OAO.
Interop for OAO Explore how OAO result from chain A can be used in chain B.
Optimized OAO Optimize OAO contract with Assembly, or other novel smart contract languages.
Fast Finalized OAO Explore how DApp with OAO's optimistic mechanism can be finalized faster with architecture like this
Scaffold-OAO Adapt Scaffold-Eth for OAO, so that devs can one-click initialize OAO AI DApp.

*: Existing data analysis dashboard for OAO by Gathin. Mempool dashboard can be similar to Ethernow, but only showing OAO-related transactions.

zkOracle Ideas

Idea Value of ORA Difficulty Additional Note
Dashboard for NFT Marketplaces Access Historical Trading Data of Blur, Looksrare, CryptoPunks, Memswap 💥
Onchain DefiLlama Access Historical Data of AAVE, Compound, Morpho 💥 Performs calculations on protocol inflow and outflow, TVL, protocol revenue, protocol health ratio, protocol yield for user.
Onchain L2BEAT Access Historical Data of L2's contract on L1, and Trustless Compute 💥 Calculate TVL (Canonical, External, Native) of L2; Calculate TPS (via L2 blocks settled on L1) of L2.
CLEs for ERCs Access Historical Data of Standardized ERCs, and Trustless Compute 🔥 Build CLEs for standards such as ERC-20 (maybe also weird ERC-20s) and ERC-721.
Onchain Price Oracle Trustless Compute of Pricing 💥 Build price oracles like TWMP (time-weighted median price), or even something like UTXOracle.
CLEs as Public Goods Libraries Trustless Compute of Algorithms 💥 Build libraries such as onchain with CLE.
Traditional Oracle Services Trustless Compute, and Automation 🌋 Build VRF (Verifiable Random Function), VDF (Verifiable Delay Functions), FSS (Fair Sequencing Service).
Automation Apps Trustless Compute, and Automation 🔥 Implement auto-renewal of ENS, automated strategies, onchain liquidator keepers for DeFi protocols...
DeFi Protocols Remastered Trustless Compute of DeFi Logic, and Automation 🌋 Use CLEs to reimplement protocols like AAVE, Curve, Uniswap v3, or v4.
Experimental Games Trustless Compute of Game Logic 💥 Implement games like etherquake and GameOfLife instead of pure onchain Solidity.
Proof of Voting Power Access Historical checkpoints, and Trustless Compute 🔥
Proof of Whale Access Historical balances and Trustless Compute 🔥
Proof of Vesting Access Historical Data of ERC-20 💥 Query historical data of a token’s vesting status, and determine if the vesting schedule is performed in a correct way.
Proof of Ownership Access Historical ownerships of ERC-721 🔥
Proof of Mint Access Historical startTimestamp and Trustless Compute 🔥
Proof of Credit Access Historical Data of DeFi and Trustless Compute 🔥
Proof of Degen Access Trading History of User and Trustless Compute 🔥 Similar to DegenScore, build an onchain verifiable one to determine if an account has enough risk tolerance ability.
Proof of Liveness Access Historical Batch Commit Activity of L2 and Trustless Compute 💥 Get all the historical data and analyze which L1 blocks have no commitBatch or finalizeBatchWithProof events to know if the rollup has any downtime.
Proof of OG Access Historical Data of User on NFT, Contract Interactions 🔥
Proof of Sandwiched Access Historical Swap Event of User and Trustless Compute 🔥 Prove that a user's behavior such as Swap has been harmed by an MEV bot, and thus compensate the account.
Vault for Arbing Withdrawals on L2 bridges Trustless Compute of Arbing, and Automation 🌋 Automated arbitrage through optimistic L2 bridges.
Very Low Gas DEX Trustless Compute of Aggregating, and Automation 💥 Aggregate tiny trades, for a cheaper DEX.
L2 – L2 transfer using Proof of Burn Trustless Compute of Transfer, and Automation 🌋 User burns tokens on L2 A, and posts the proof of burn on L2 B for bridging.
Automated Risk Scoring of Pools Access Historical Data, Trustless Compute, and Automation 🌋 A combination of credit score of an account, and bad debt scoring of a pool.
Better Wallets Trustless Compute as Intent-solver, and Automation 🌋
zkOracle with Uniswap Hooks Trustless Compute of Offchain Logic 💥 Use beforeX hook to verify the zkp from zkOracle.
Dark Forest Rank Trustless Compute of Blockchain World Ranking 💥 Analyze full history and operations of a contract or account to generate a ranking of all contracts and accounts (value, trade profit, MEV profit).

*: Difficulty levels are from Eazy (🔥) -> Normal (💥) -> Advanced (🌋).

Read more from ORA's idea posts on zkOracle: 1, 2.

🔧 Other Contribution by ORA

ORA's Contribution to General Web3, Blockchain, and Crypto Space.

Researches & Development

World Supercomputer

Improvement Proposals

Open Grant Contribution