Connecting an Elixir Node to the Bitcoin Network
The first step in participating in Bitcoin’s peer-to-peer network is connecting to your first peer node. Check out how we can use Erlang’s :gen_tcp to connect to a node, and send hand-crafted packets to kick off communication.