install.sh deploys and activates one staking pool from guides/apps/staking-pools/install-helpers/. Set the environment, run the script once, and read back the pool address and a receipt. The script uses Foundation-delegated funds when a DelegationHandler already exists 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, the 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, plus gas (for example, 0.1 BERA) for activation
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.
Use
./install.sh --help for usage.
Run install.sh
The script deploys and activates one pool and doesn’t resume. Run it once per pool:staking-pool-receipts.jsonl.
Call the pool with cast for staker operations. The Operator guide covers day-two work. The example frontend is a sample UI for end users.