Skip to content

zellular-xyz/eigensdk-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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