A set of solidity contracts from the SI team with Hardhat 3 Alpha!
Node.js 22
📑 This file contains a brief guide. For full documentation, see the Docusaurus docs by running:
cd ../docs
yarn start
Set ENVs
cp .env.example .env.local
- PRIVATE_KEY
- RPCURL
- VAULT_HUB_ADDRESS
- ETHERSCAN_API_KEY
Just run:
yarn install
Just updates submodules with:
git submodule init
git submodule update --remote --recursive
cd submodules/lidofinance-core
git checkout feat/testnet-3
cd ../../
Just run:
yarn compile
Deploy with:
VaultViewer:
yarn deploy-vv:<network_name>
WstETHReferralStaker:
yarn deploy-wrs:<network_name>
Example:
yarn deploy-vv:hoodi
Deploy with:
yarn deploy-vv:<network_name>
Verify with:
yarn verify:deployed-contracts --chainId <chainId> --contractName <contractName>
Example Hoodi:
yarn deploy-vv:hoodi
yarn verify:deployed-contracts --chainId 560048 --contractName VaultViewer
Example Sepolia:
yarn deploy-wrs:sepolia
yarn verify:deployed-contracts --chainId 11155111 --contractName WstETHReferralStaker
Just run:
yarn test
Just run:
yarn compile
yarn abis:extract
TBD