Experiments in libp2p connectivity
Go to file
decentral1se b49b5d8939
wip: pears
2023-06-01 00:56:35 +02:00
.gitignore wip: pears 2023-06-01 00:56:35 +02:00
LICENSE wip: pears 2023-06-01 00:56:35 +02:00
README.md wip: pears 2023-06-01 00:56:35 +02:00
go.mod wip: pears 2023-06-01 00:56:35 +02:00
go.sum wip: pears 2023-06-01 00:56:35 +02:00
pear.go wip: pears 2023-06-01 00:56:35 +02:00

README.md

🍐

Experiments in libp2p connectivity

libp2p Go binaries for testing p2p connectivity. I am exploring connectivity which resembles how the Scuttleverse works: no DHT and the use of relays ("pubs", rooms).

Build

go build -v .

Public to public (IPv4)

One one VPS with a public IPv4 address:

./pear
/ip4/<redacted>/tcp/9000/p2p/12D3KooWJEHoL2ZrW8RHkACHe7v92ghs6it2h4U3WUpoJMPkFenM
/ip4/127.0.0.1/tcp/9000/p2p/12D3KooWJEHoL2ZrW8RHkACHe7v92ghs6it2h4U3WUpoJMPkFenM

And one the other VPS:

./pear /ip4/<redacted>/tcp/9000/p2p/12D3KooWJEHoL2ZrW8RHkACHe7v92ghs6it2h4U3WUpoJMPkFenM
/ip4/127.0.0.1/tcp/9000/p2p/12D3KooWSoyh1coEvQ4ZkoPzuFFagmF4Zi7mNDnEVsQW8f8CZwmq
/ip4/135.181.105.133/tcp/9000/p2p/12D3KooWSoyh1coEvQ4ZkoPzuFFagmF4Zi7mNDnEVsQW8f8CZwmq
pinged /ip4/<redacted>/tcp/9000/p2p/12D3KooWJEHoL2ZrW8RHkACHe7v92ghs6it2h4U3WUpoJMPkFenM in 262.936µs
...

Local-first MDNS

TODO.

Private to private (relay)

TODO.

Private to private (holepunch)

TODO.

Use of the Tor transport (optional)

TODO.

Use of public IPFS relay & DHT (optonal)

TODO.