The StakeWise smart contracts for liquid non-custodial ETH2 staking.
You can find the documentation for every contract in the contracts directory. For integration, check the contracts/interfaces directory.
The documentation is also available on the official documentation page.
NB! You would have to define the initialize function for the contracts that don't have it when deploying for the first time.
-
Install dependencies:
yarn install
-
Compile optimized contracts:
yarn compile --optimizer
-
Update network parameters in
hardhat.config.js. Learn more at Hardhat config options. -
Change settings if needed.
-
Deploy StakeWise contracts to the selected network:
yarn deploy-contracts --network rinkeby
Development of the project happens in the open on GitHub, and we are grateful to the community for contributing bugfixes and improvements.
The project is GNU AGPL v3.
