This project is a Bitcoin handshake implementation written in Go. It establishes a connection with Bitcoin nodes using TCP transport and performs a handshake to exchange version information.
-
Go programming language installed on your system.
-
Access to the internet to connect to Bitcoin nodes.
-
To run BTCD node:
git clone https://github.com/btcsuite/btcd.git
go install -v . ./cmd/...
- btcd (and utilities) will now be installed in $GOPATH/bin
./btcd
-
Clone the repository to your local machine:
git clone <repository_url>
-
Change to the project directory:
cd bitcoin-handshake
-
Ensure you have the necessary dependencies installed:
go mod download
-
Run the project:
go run main.go
Contributions are welcome! If you find any bugs or have suggestions for improvements, please submit an issue or a pull request.