Skip to content

A collection of examples designed to provide hands-on experience for integrating the Othentic Stack

Notifications You must be signed in to change notification settings

Othentic-Labs/avs-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quickstart

A curated list of AVS implementations to help you get started with the Othentic Stack. These examples span across multiple programming languages and demonstrate both basic and advanced features.

📚 View Quickstart Guide →

Language-Specific Examples

Name                Description
Oracle (JS) A quickstart repository demonstrating an Oracle AVS implementation in JavaScript. It uses IPFS to store proof-of-task data, providing a simple yet powerful example for developers new to the Othentic Stack.
Oracle (Go) A Go-based Oracle AVS showcasing Othentic integration with clean concurrency and validation logic.
Oracle (Rust) A Rust-based implementation of a simple Oracle AVS with strong type safety and performance.

Advanced Examples

Name                              Description
Multi Chain AVS (TS) Deploys AVS across multiple L2 chains, showcasing task submission and attestation, in a multi-chain context.
PRNG Showcases advanced CLI features like leader election, custom task triggers, and hook execution. Great for exploring full-stack AVS capabilities.
Leaderless Auction Implements a leaderless mechanism using an auction-based protocol. Instead of electing a leader, nodes participate in a commit-reveal scheme where they bid for task execution rights.

Extensions

Name                                  Description
MCP AVS Example Demonstrates Model Context Protocol (MCP) support in AVSs. This example enables agent-compatible task execution, making AVS accessible via AI agents
MCP TEE AVS Example Demonstrates Model Context Protocol (MCP) integration in AVSs, enabling agent-compatible task execution via an MCP server running securely inside a Trusted Execution Environment (TEE)
Liveness An AVS that monitors operator uptime and responsiveness across the network. It introduces a reputation system and provides a mechanism for detecting and penalizing inactive operators.
Uniswap V4 Hook Uses Uniswap V4 hooks to dynamically adjust swap fees based on real-time market data—solves inefficiencies of static fee models.
TLS AVS Example An example showcasing an MPC-TLS-based AVS that validates TLS sessions and submits verifiable tasks to the AVS network.

Additional Examples

The following examples are not official samples nor actively maintained, and some may be outdated.

Parallel EVM Transactions

The project addresses the challenge of parallel transaction execution by intelligently batching mempool transactions based on independent state accesses. Utilizing Eigenlayer AVS, it introduces a novel approach to parallelizing the EVM through a state access batching algorithm that identifies transactions that can be processed simultaneously.

⚡ Defi

Uniswap v4 Orderbook

This project implements a decentralized orderbook system that processes orders off-chain while settling trades on-chain. It leverages EigenLayer's AVS infrastructure for secure off-chain computation and integrates with Uniswap V4 Hooks to offer improved trading between the orderbook and AMMs.

AI Powered Prediction Markets

This project builds a decentralized prediction market using AVS with dual AI agents, Gaia and Hyperbolic, for deterministic event resolution. It integrates Uniswap v4 Hooks for binary betting, AVS for price and sentiment analysis.

🤖 AI & Machine Learning

Distributed GPU

The project implements task execution on remote GPUs through a simple REST API. By leveraging GPU optimizations and graph-based computation, it reduces system requirements for AVS operations. The implementation relies on Eigenlayer’s consensus system and introduces the Manhattan distance metric to handle non-deterministic GPU computations, ensuring near-equal tensor outputs across nodes.

Deepfake Detection

This project uses deepfake detection techniques to verify camera authenticity for legal applications, ensuring reliable and tamper-proof footage.

AI Model Benchmarking

This project provides hospitals, with reliable benchmarks for biotech AI models, ensuring transparency in healthcare AI. Using AVS, it validates model performance claims and assess how well they generalize across different patient groups. Hospitals can submit AI models for benchmarking, compare results on the leaderboard, and make informed decisions about model adoption.

🖥 Hardware & Security

GPU Hardware Validation System

The project validates GPU authenticity through PCI ID verification, VBIOS integrity checks, and secure boot validation. Built on modifications of Coinbase’s CDP Agentkit, it extends their work while integrating voice capabilities inspired by langchain-ai/react-voice-agent. This implementation enhances GPU-based computation security and efficiency within the EigenTensor AVS framework.

🔒 Privacy

FHE Image Processing

This project leverages FHE (Fully Homomorphic Encryption) to enable privacy-preserving image processing. Users can encrypt their images, submit encrypted tasks, and receive processed results without exposing their data to any third party. Built using Zama’s TFHE-rs library and Rust, this solution ensures trustless verification while addressing the trade-off between computational efficiency and privacy.

Prediction Market Orderbook

This project leverages homomorphic encryption to generate a privacy-preserving proof of bids, ensuring secure and confidential participation in prediction markets, while Uniswap’s AMM efficiently fills market orders.


Simple Price Oracle Example with EigenDA

This example showcases how to utilize EigenDA for storing proof-of-task data, providing a scalable and efficient data availability solution for AVSs.

DNS Registry

Demonstrates how to implement a decentralized DNS registry using AVS. It focuses on integrating domain management functionality with Othentic Stack.

About

A collection of examples designed to provide hands-on experience for integrating the Othentic Stack

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •