github.com/ethersphere/bee/v2@v2.2.0/packaging/bee-get-addr (about) 1 #!/bin/sh 2 3 if [ ! "$(id -u)" -eq 0 ] ; then 4 echo " 5 This script requires root privileges, use sudo. 6 " 7 exit 1 8 fi 9 10 ETH_ADDRESS=$(/usr/bin/bee init --config /etc/bee/bee.yaml 2>&1 | grep ethereum | cut -d'=' -f6 | tr -d '"') 11 echo " 12 Please make sure there is XDAI and, if required, XBZZ available on the following Ethereum address on Gnosis Chain: $ETH_ADDRESS 13 14 Learn how to fund your node by visiting our docs at https://docs.ethswarm.org/docs/installation/fund-your-node 15 16 Once your node's wallet has received the funds it will begin joining the Swarm network. 17 18 See the docs for more information at https://docs.ethswarm.org/docs/. 19 " 20 21 chown -R bee:bee /var/lib/bee