Quickstart: Network with Staking
This guide sets up a minimal Hoodi testnet environment so you can validate production flows on testnet.
Prerequisites
Prepare 6 EOAs for simulation:
- Network: network identity account
- Middleware: set by the network to handle reward distribution and vault opt-ins
- Vault Curator: sets up the vault and allocates shares
- Operator: receives delegated stake
- Two Test Stakers: deposit collateral
Create Vault & Register Operator
- Create a vault using
wstETHas collateral.- Sample Vault address:
0xb29BAD40B00587dE1145C7862F96746f043b9daD(Sample Tx)
- Sample Vault address:
- Register operator in
OperatorRegistryviaregisterOperator()(Sample Tx) - Opt operator into Network using
OperatorNetworkOptInServiceviaoptIn()(Sample Tx) - Opt operator into Vault using
OperatorVaultOptInServiceviaoptIn()(Sample Tx) - Allocate shares in Delegator via
setOperatorNetworkShares()(Sample Tx) - (Optional) Submit PRs with metadata (network, vault, operator) to the metadata-hoodi repo. Examples: 13, 14, 15
When finished, 2 test stakers should be able to deposit to the wstETH vault.
