Go to file
Richard Ramos 635857a9cf
chore: upgrade deps
2022-11-04 02:38:11 -04: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 chore: upgrade deps 2022-11-04 02:38:11 -04:00
go.sum chore: upgrade deps 2022-11-04 02:38:11 -04:00
protocol.go chore: upgrade deps 2022-11-04 02:38:11 -04:00
protocol_test.go chore: upgrade deps 2022-11-04 02:38:11 -04: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