Skip to content

Latest commit

 

History

History
 
 

examples

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Examples

Examples demonstrating how to interact with Eigen layer contracts using eigen-rs crates.

OperatorsInfo

Get all the operators registered at a block range and get the operator info using an async channel.

cargo run -p info-operator-service 

AvsRegistry Read

Example : Getting an operator address from the operator id

cargo run --example get_operator_from_id

Anvil utils(This requires a local anvil instance running using docker )

Get EigenLayer contract addresses for local anvil testing . These are predetermined addresses that are stored in a mapping using these scripts.

make start-anvil-chain-with-contracts-deployed
make start-anvil
cargo run --example get_contracts_from_registry