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.
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
pip3 install git+https://github.com/zellular-xyz/eigensdk-python
Documentation is available here and in the docs directory.
You can use Incredible Squaring Python AVS as an example application using this SDK.
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