Libp2p helps a ton. We’ll be releasing a dev kit soon like NDK that makes it easier for developers to utilize it for nostr.