Scripts and small Go programs used by the Bee team to debug and operate Swarm testnet and mainnet nodes.
Most shell scripts target Bee nodes running in a Kubernetes namespace and discover hosts via kubectl get ingress. They typically accept NAMESPACE and DOMAIN as the first arguments.
scripts/— Bash utilities (see categories below)neighborhood/— compute neighborhood population from a Swarmscan dumpreadsi/— human-readable breakdown of storage incentives (redistribution, stake, postage, reward)private-key/— print a node's swarm/ethereum private key from its data dirsharky-bits/— inspect sharkyfree_*slot filestestnet-update/— roll testnet nodes to a new RC version
kubectl, curl, jq, bc, and Go 1.21+ for the programs under neighborhood/, readsi/, private-key/, sharky-bits/.
Run any script without args to see defaults; most accept [NAMESPACE] [DOMAIN].
addr.sh,addr-full.sh— overlay/ethereum addresses per nodestatus.sh,status-peers.sh,bad-status.sh—/statussnapshot and peer countsreachable.sh— checksisReachableoverlay.sh,topology.sh,neighborhoods.sh— overlay, topology, neighborhood depthblocklist.sh,check-peers-overlay.sh— peer/overlay lookupswallet-get.sh,pending_transactions.sh
chequebook-balance-get.sh— flags nodes below the 11 BZZ thresholdchequebook-deposit.sh— deposit a fixed amount, or--topup-toa target balancechequebook-cashout-withdraw.sh— cash out cheques and withdraw before nukingcashout.sh,deposit.sh
stake.sh,stake-get.sh,stake-del.sh
calculate_bzz.sh— BZZ cost for a given depth and durationconvert.sh— BZZ ⇄ PLUR conversiondilute.sh,dilute-parallel.sh— bump stamp depthchunk-check.sh— verify chunk presence across nodesparallel_stamps_requests.sh
collect-all.sh— bundles status, overlay, and pod logs intoscripts/output/snapshot.sh— pre-upgrade baseline (version, addresses, balances) for every nodepprof.sh— fetch pprof profiles from a node's debug endpointtestnet-update/testnet-update.sh— roll bootnode/gateway/storage to a tagged RCbasefee.sh— current Ethereum base fee from an RPC endpointsecrets.sh,tag.sh— bulk delete helm-release secrets / git tagsdeltrx.sh— cancel pending transactionssplit.sh,rchash.sh,parallel_rpc_requests.sh