github.com/status-im/status-go@v1.1.0/cmd/bootnode/README.md (about) 1 Using custom bootnode 2 ====================== 3 4 To make custom bootnode usable it must participate in the same DHT as the target cluster. 5 6 1. Generate private key for a node 7 8 To generate a private key you can use bootnode command line tool from go-ethereum repository. 9 It is also available as a part of the image: `ethereum/client-go:alltools-latest`. 10 11 ```bash 12 docker run --entrypoint=bootnode -v $(pwd):/keys ethereum/client-go:alltools-latest -genkey /keys/node.key 13 ``` 14 15 2. Run status bootnode with new key and nursery nodes from the target cluster 16 17 Status bootnode is available as an image `statusteam/bootnode:latest`. 18 19 ```bash 20 ./build/bin/bootnode --nodekey=node.key --addr=192.168.0.102:30777 -n=enode://1b843c7697f6fc42a1f606fb3cfaac54e025f06789dc20ad9278be3388967cf21e3a1b1e4be51faecd66c2c3adef12e942b4fcdeb8727657abe60636efb6224f@206.189.6.46:30404 21 ``` 22 23 3. Construct enode or copy it from bootnode logs. 24 25 ``` 26 INFO [05-24|07:50:38] UDP listener up net=enode://30e0735299e9e516fe9295580c122abedd12766188516be4cca1e48ebfb3a8b29da6b377a7abf5cd1685a14bc9baa99ae06e3d9d659e1d1e086deb333f7f4a59@192.168.0.102:30777 27 ```