项目
在 GitHub 查看
inference-labs-inc/inference-network
关于
推理证明——无需信任的 AI 验证
人工智能与机器学习实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- -2
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文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
- Initialize the project and install Forge dependencies:
make init
- Set up Python environment (from the client directory):
uv venv
source .venv/bin/activate
uv pip install -e .
- 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 commandsmake build-anvil-state-with-deployed-contracts- Build local test stateforge script script/LocalnetDeploy.s.sol --rpc-url http://localhost:8545 --broadcast- Deploy contracts to local anvil networkmake spam-tasks- Generate test tasks
Chain Configuration
- Chain ID: 31337
- Strategy Address: 0x7a2088a1bFc9d81c55368AE168C2C02570cB814F
License
MIT
探索相关项目
加载中…