contracts/

directory
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 23, 2024 License: Apache-2.0

README

Build with Foundry

Compile the contract:

forge build

Testing the contract:

forge test

Deploy Eigenlayer core contracts(can be skipped if you want to use contracts deployed by Eigenlayer):

forge script script/EigenLayerDeployer.s.sol --rpc-url <rpc-url> --private-key <deployer-private-key> --broadcast -vvvv

Deploy Multi-prover AVS contracts: Env can be found inside ./script/output/eigenlayer_deploy_output.json if you want to use the eigenlayer contracts deployed at previous step, or get the deployed address from Eigenlayer's docs.

DELEGATION_MANAGER=<delegation-manager-address> AVS_DIRECTORY=<avs-directory-address> forge script script/DeployMultiProverServiceManager.s.sol --rpc-url <rpc-url> --private-key <deployer-private-key> --broadcast -vvvv

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL