Skip to content
프로젝트

소개

추론 증명 - 신뢰 없이 수행하는 AI 검증

AI 및 머신러닝

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
-2

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

INFERENCE NETWORK

Project Structure

  • /contracts - Solidity smart contracts
  • /client - Python implementation of operator and aggregator
    • /src/avs_operator - AVS operator implementation
    • /src/aggregator - Aggregator implementation
    • /src/common - Shared utilities
  • /.github - GitHub workflows and CI/CD configurations
  • /init.sh - Initialization script

Quick Start

Prerequisites

  • Python 3.10-3.12
  • Foundry/Forge
  • Make
  • UV (install with curl -LsSf https://astral.sh/uv/install.sh | sh)

Setup

  1. Initialize the project and install Forge dependencies:
make init
  1. Set up Python environment (from the client directory):
uv venv
source .venv/bin/activate
uv pip install -e .
  1. Build and deploy contracts:
make build-contracts
make deploy-eigenlayer-contracts
make deploy-inference-contracts

Running the Services

The operator and aggregator services can be managed through the CLI:

# From the client directory with venv activated
inference --help

Development

Run contract tests:

make tests-contract

Run Python tests:

# From the client directory
pytest

The project uses a Makefile for common operations:

  • make help - Show available commands
  • make build-anvil-state-with-deployed-contracts - Build local test state
  • forge script script/LocalnetDeploy.s.sol --rpc-url http://localhost:8545 --broadcast - Deploy contracts to local anvil network
  • make spam-tasks - Generate test tasks

Chain Configuration

  • Chain ID: 31337
  • Strategy Address: 0x7a2088a1bFc9d81c55368AE168C2C02570cB814F

License

MIT

관련 프로젝트 살펴보기

불러오는 중…