This package contains all smart contracts used to power EigenDA's on-chain operations. This includes both core protocol logic and verification constructs that a rollup can leverage to verify certificate integrity. This project uses both NPM and local submodules for dependency management. Most recently published NPM release artifacts can be found here.
Please ensure you've installed latest foundry nightly as well as yarn. To install dependencies, run the following commands:
cd contracts
yarn install
forge install
To compile contracts and generate golang ABI bindings, run the following:
make compile-contracts
To just compile contracts, run the following:
yarn run build
Tests are all written using foundry and can be ran via the following commands:
yarn run test
or
forge test -v