// A P2P Adapter does not HAVE to be LibP2P. // We could create an adapter to use a centralized server. export abstract class P2P { // from(bootstrapNodes) abstract createChannel(): Promise; abstract findPeer(peerId: string): Promise; } export abstract class P2PChannel {}