adambabik / rendezvous

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to run?

Fetch dependencies

dep ensure

Start the server.

go run ./cmd/server/main.go

Copy multiaddr string from logs. In my case /ip4/127.0.0.1/tcp/9090/ipfs/QmYV4YUJ4capN4BmE3D8nKgPaaqzu6T1Vf2NxjTcVg8MVK.

Register ENR using client. Can be executed multiple times, key for ENR is randomly generated.

go run ./cmd/client/main.go -s /ip4/127.0.0.1/tcp/9090/ipfs/QmYV4YUJ4capN4BmE3D8nKgPaaqzu6T1Vf2NxjTcVg8MVK -r

Fetch discovered ENRs.

go run ./cmd/client/main.go -s /ip4/127.0.0.1/tcp/9090/ipfs/QmYV4YUJ4capN4BmE3D8nKgPaaqzu6T1Vf2NxjTcVg8MVK

About


Languages

Language:Go 98.1%Language:Dockerfile 1.3%Language:Makefile 0.6%