Go to file
Adam Babik 52675d7d7e remove deprecated libp2p packages 2019-06-06 14:17:39 +03:00
.gitignore Implement multiaddr format compatible with scheme used in ethereum 2018-07-12 13:34:18 +03:00
README.md Implement multiaddr format compatible with scheme used in ethereum 2018-07-12 13:34:18 +03:00
go.mod remove deprecated libp2p packages 2019-06-06 14:17:39 +03:00
go.sum remove deprecated libp2p packages 2019-06-06 14:17:39 +03:00
protocol.go remove deprecated libp2p packages 2019-06-06 14:17:39 +03:00
protocol_test.go remove deprecated libp2p packages 2019-06-06 14:17:39 +03:00

README.md

ETHv4 multiaddr library

ETHv4 mutliaddr format adds a spec that is compatible with enode definition, for example: peer with identity 436cc6f674928fdc9a9f7990f2944002b685d1c37f025c1be425185b5b1f0900feaf1ccc2a6130268f9901be4a7d252f37302c8335a2c1a62736e9232691cc3a ip 174.138.105.243 and tcp port 30404 can be defined as enode:

enode://436cc6f674928fdc9a9f7990f2944002b685d1c37f025c1be425185b5b1f0900feaf1ccc2a6130268f9901be4a7d252f37302c8335a2c1a62736e9232691cc3a@174.138.105.243:30404

or as multiaddr

/ip4/174.138.105.243/tcp/30404/ethv4/436cc6f674928fdc9a9f7990f2944002b685d1c37f025c1be425185b5b1f0900feaf1ccc2a6130268f9901be4a7d252f37302c8335a2c1a62736e9232691cc3a