Skip to content

Latest commit

 

History

History
executable file
·
45 lines (31 loc) · 1.34 KB

README.md

File metadata and controls

executable file
·
45 lines (31 loc) · 1.34 KB

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