besu-pro-testnet
besu-pro-testnet copied to clipboard
Users don't know what their enode is
It would be grateful to have a file where the enode is specified.
Manually users can know their enode by executing the following steps:
- Enter to your remote machine via ssh:
- Enter as root: sudo -i
- Execute: key=$(pantheon --data-path=/root/lacchain/data public-key export-address --to=/root/lacchain/data/nodeAddress | grep -oE "0x[A-Fa-f0-9]*" | sed 's/0x//');ip=$(dig +short myip.opendns.com @resolver1.opendns.com 2>/dev/null || curl -s --retry 2 icanhazip.com);port=60606; echo "enode://${key}@${ip}:${port}" > /root/lacchain/data/enode
- Now easily print your enode: cat /root/lacchain/data/enode