A SDK for developing EigenLayer AVS in Python
Project description
eigensdk-python
A Python SDK for EigenLayer, derived from the official eigensdk-go implementation.
[!CAUTION] This library is a PoC implemented for the EigenLayer hackathon. Do not use it in Production, testnet only.
Dependencies
It required to MCL native package to be installed.
$ sudo apt install libgmp3-dev
$ wget https://github.com/herumi/mcl/archive/refs/tags/v1.93.zip
$ unzip v1.93.zip
$ cd mcl-1.93
$ mkdir build
$ cd build
$ cmake ..
$ make
$ make install
Installation
pip3 install git+https://github.com/zellular-xyz/eigensdk-python
Documentation
Documentation is available here and in the docs directory.
Example
You can use Incredible Squaring Python AVS as an example application using this SDK.
Test
Tests use the anvil chain snapshot of the Incredible Squaring AVS. To run tests, use the following commands after running the anvil chain as described here:
$ cd tests
$ python -m unittest run_tests.py
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file eigensdk-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: eigensdk-0.0.2-py3-none-any.whl
- Upload date:
- Size: 46.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c02b0a7ba5742fe368f5765f70dfcf57dfc8e8e92185b903c2c72401f09a143 |
|
MD5 | 508f759707fd5b23fe860d135ee8b671 |
|
BLAKE2b-256 | d5e23376d7e8dc9d91b73d6ad36d394b47dfdf5ba39dbabc76365066be4e1350 |