install.sh deploys and activates one staking pool from guides/apps/staking-pools/install-helpers/. You configure the environment, run the script, and execute the commands it asks you to. The script uses Foundation-delegated funds when a DelegationHandler has been provisioned for your validator. Otherwise it spends 10,000 BERA plus gas from your funding wallet.
What you need before you run install.sh
You need a synced validator, helper tools, and live endpoints:- A synced Berachain validator
bash, Foundry (cast),jq, andcurl- Reachable execution-layer JSON-RPC and consensus-layer Node API endpoints. Enable the Node API. The Node API can run on any node; it doesn’t have to be on the validator.
- Self-funded: at least 10,000 BERA plus gas in the funding wallet
- Delegated: a DelegationHandler already formed and funded for your validator, plus gas for activation
install.sh once the handler exists.
Clone install-helpers
Clone the guides repo and enter the helper directory:Set environment variables
Copyenv.sh.template to env.sh in that directory, then edit the copy. install.sh sources env.sh when the file is present.
Run install.sh
Use./install.sh --help for usage.
staking-pool-receipts.jsonl.