Go API with the GIN framework to live stream ethereum transactions
Simple project I made to learn about Goroutines
Edit getEthClient in transactions => replace rawurl parameter with something like wss://mainnet.infura.io/ws/v3/xxxxxxxxxxx
go mod tidy && go install
GIN_MODE=debug go run .
go build . && GIN_MODE=release ./eth-streamer.com
curl -s -D "/dev/stderr" http://localhost:8080/tx-start \ --include \ --header "Content-Type: application/json"
curl -D "/dev/stderr" http://localhost:8080/transactions`