Skip to content

Latest commit

 

History

History
38 lines (31 loc) · 948 Bytes

README.md

File metadata and controls

38 lines (31 loc) · 948 Bytes

pado-network-contracts

Quick Start

Dependencies

  1. npm
  2. Foundry

Install

npm install

Building and Running Tests

#check out
git submodule update --init --recursive
#update foundry to latest
foundryup
#build
forge build
#run test
npx hardhat test

Deploying

Using forge

forge script script/deploy/holesky/Holesky_DeployPADONetworkContracts.s.sol:Holesky_DeployPADONetworkContracts --rpc-url [rpc-url] --private-key [private-key] --broadcast

Upgrading

Using forge

Filling right addresses in eigenlayer_upgrade_holesky.json

forge script script/deploy/holesky/Holesky_UpgradePADONetworkContracts.s.sol:Holesky_UpgradePADONetworkContracts --rpc-url [rpc-url]  --private-key [private-key] --broadcast