Methods
Static
fromPeerId
- fromPeerId(peerId, kvs?): Promise<ENR>
Parameters
peerId: PeerId
kvs: Record<string, Uint8Array> = {}
Returns Promise<ENR>
Static
fromPublicKey
- fromPublicKey(publicKey, kvs?): Promise<ENR>
Parameters
publicKey: Uint8Array
kvs: Record<string, Uint8Array> = {}
Returns Promise<ENR>