Skip to content

Bootstrap

Bootstrap nodes help new nodes join the network, while static peers provide guaranteed connections.


Bootnodes are well-known nodes that help new nodes discover peers.

Terminal window
geth --bootnodes "enr:-KG4QOtcL...@bootnode.mainnet.ethdisco.net:30303"
Terminal window
geth --bootnodes "enr:...@node1:30303,enr:...@node2:30303,enr:...@node3:30303"

  • Guaranteed connectivity
  • Useful for private networks
  • Backup peers
Terminal window
# config.toml
[Node]
StaticNodes = ["enr:...@peer1:30303", "enr:...@peer2:30303"]
Terminal window
geth attach http://localhost:8545
admin.addPeer("enr:...")

  • Bootnodes for initial peer discovery
  • Static peers for guaranteed connections
  • Use multiple for redundancy

Last Updated: 2026-02-20