Giter VIP home page Giter VIP logo

eigenlayer-middleware's Introduction

EigenLayer Middleware

EigenLayer is a set of smart contracts deployed on Ethereum that enable restaking of assets to secure new services called AVSs (actively validated services). The core contracts that enable these features can be found in the eigenlayer-contracts repo.

This repo contains smart contracts used to create an AVS that interacts with the EigenLayer core contracts.

Getting Started

Documentation

Basics

To get a basic understanding of EigenLayer, check out You Could've Invented EigenLayer. Note that some of the document's content describes features that do not exist yet (like the Slasher). To understand more about how restakers and operators interact with EigenLayer, check out these guides:

Most of this content is intro-level and describes user interactions with the EigenLayer core contracts, but it should give you a good enough starting point.

Deep Dive

For shadowy super-coders:

  • The most up-to-date technical documentation can be found in /docs.
  • To get an idea of how users interact with these contracts, check out the integration tests: /test/integration
  • To explore the EigenLayer core contracts, check out the core repo technical docs here.

Building and Running Tests

This repository uses Foundry. See the Foundry docs for more info on installation and usage. If you already have foundry, you can build this project and run tests with these commands:

foundryup

forge build
forge test

Deployments

The contracts in this repo are meant to be deployed by each AVS that wants to use them. The addresses listed below refer to EigenDA's deployment, and are included as an example.

Current Mainnet Deployment

No contracts have been deployed to mainnet yet.

Current Testnet Deployment

The current testnet deployment is from our M2 beta release, which is a slightly older version of this repo. You can view the deployed contract addresses below, or check out the v0.1.0 branch in "Releases".

Name Solidity Proxy Implementation Notes
RegistryCoordinator BLSRegistryCoordinatorWithIndices.sol 0x0b30...4C0B 0x9A70...a0e4 Proxy: OpenZeppelin [email protected]
StakeRegistry StakeRegistry.sol 0x5a83...A206 0x8741...5B98 Proxy: OpenZeppelin [email protected]
IndexRegistry IndexRegistry.sol 0xa8A1...BDF7 0x8cd4...8117 Proxy: OpenZeppelin [email protected]
BLSApkRegistry BLSPubkeyRegistry.sol 0xD8fC...BEcA 0x4C9D...aFb8 Proxy: OpenZeppelin [email protected]
BLSPubkeyCompendium
(deprecated)
BLSPublicKeyCompendium.sol - 0xc81d...1b19
OperatorStateRetriever BLSOperatorStateRetriever.sol - 0x737d...a3a3
ProxyAdmin OpenZeppelin [email protected] - 0xbe85...aF3e
EigenDAServiceManager eigenda/EigenDAServiceManager.sol 0x9FcE...0010 0x1261...9606 Proxy: OpenZeppelin [email protected]

eigenlayer-middleware's People

Contributors

wadealexc avatar chaoticwalrus avatar stevennevins avatar samlaf avatar 8sunyuan avatar gpsanant avatar ypatil12 avatar tudorpintea999 avatar 0x0aa0 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.