keutmann on Nostr: I'm actually exploring using GunDB by Mark Nadal for a p2p network, particularly for ...
I'm actually exploring using GunDB by Mark Nadal for a p2p network, particularly for local Web of Trust calculations. It already comes with a built-in database system and p2p connection logic, so with a few tweaks—especially considering that events are immutable—it could work really well for what you’re describing. The aim isn’t to replace the relay system but to enable clients to share events directly with their peers or sync across multiple devices. I also think this approach could relieve some of the pressure on relay servers and help Nostr scale to a larger audience.
Published at
2024-08-31 18:14:21Event JSON
{
"id": "d7c626567de9aaa6664272aa3a0a397d168e3fd44cf01704038172d67f61dc78",
"pubkey": "80c29c4741cc0bc18b13d8f2c89f052072eedf6840314d365ec0875b684da831",
"created_at": 1725128061,
"kind": 1,
"tags": [
[
"e",
"69c7710f5ac78c993670e337ecb9c0feb02b3a5bd0dfaf566fd2028e366fdb04",
"wss://ditto.pub/relay",
"root"
],
[
"e",
"3bf62bb6c3f7d3abcb327202dbbfcd7b0e962473048816ee4a8f26a688a92ad2",
"wss://ditto.pub/relay",
"reply"
],
[
"p",
"32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245"
],
[
"p",
"e417ee3d910253993ae0ce6b41d4a24609970f132958d75b2d9b634d60a3cc08"
],
[
"p",
"9be0be0e64d38a29a9cec9a5c8ef5d873c2bfa5362a4b558da5ff69bc3cbb81e"
]
],
"content": "I'm actually exploring using GunDB by Mark Nadal for a p2p network, particularly for local Web of Trust calculations. It already comes with a built-in database system and p2p connection logic, so with a few tweaks—especially considering that events are immutable—it could work really well for what you’re describing. The aim isn’t to replace the relay system but to enable clients to share events directly with their peers or sync across multiple devices. I also think this approach could relieve some of the pressure on relay servers and help Nostr scale to a larger audience.",
"sig": "5c529c0ea2437b38cb886c80956df1569ca92654790a89b55ffe37f017c743f70339211c6e3f7868eaebda910d249fc89b2816267c72a59bf8f4b1ded569d80d"
}