1 unstable release

0.1.0 Sep 30, 2024

#1 in #eigen-layer

Download history 242/week @ 2024-09-27 119/week @ 2024-10-04 59/week @ 2024-10-11 120/week @ 2024-10-18 149/week @ 2024-10-25

489 downloads per month
Used in 4 crates (via gadget-sdk)

Custom license

370KB
2.5K SLoC

eigensdk-rs

eigensdk-rs is an initiative for rust developers to build AVSs on eigenlayer.

Installation

cargo install eigensdk --features full

Overview

List of crates in the repository :-

Examples

You can run any example using the command cargo run --example <example-name>

Example :

cargo run --example get_quorum_count

Contributor Guidelines

We are actively looking for contributors. Thank you for your interest. We have strict ci checks in place. In case of any questions and support, feel free to raise an issue.

PR

To test locally :-

You need foundryto successfully to run it.

cargo test

At least 1 approving review is required to merge the PR.

lint

make lint

To run fireblocks tests

Add the following variables to your env

  • FIREBLOCKS_API_KEY
  • FIREBLOCKS_PRIVATE_KEY_PATH
  • FIREBLOCKS_API_URL

and then run the following command

make fireblocks-tests

Test Coverage

Test coverage should aim to be around 80%.

Here's how to generate test coverage reports:

Install llvm tools:

make deps

Run the tests with coverage instrumentations:

make coverage

Open the coverage html report in a web browser:

open target/llvm-cov/html/index.html

Supported Rust Version

Rolling MSRV policy of 6 months. The current MSRV is 1.79

Disclaimer

This software is unaudited.This is experimental software and is provided on an "as is" and "as available" basis and may not work at all. It should not be used in production.

Credits

Security Bugs

Please report security vulnerabilities to security@eigenlabs.org. Do NOT report security bugs via Github Issues.

Support

Join our telegram channel .

Dependencies

~0–22MB
~364K SLoC