Documentation
Preparing search index...
@waku/enr
EnrCreator
Class EnrCreator
Index
Constructors
constructor
Methods
from
Peer
Id
from
Public
Key
Constructors
constructor
new
EnrCreator
()
:
EnrCreator
Returns
EnrCreator
Methods
Static
from
Peer
Id
fromPeerId
(
peerId
:
PeerId
,
kvs
?:
Record
<
ENRKey
,
ENRValue
>
)
:
Promise
<
ENR
>
Parameters
peerId
:
PeerId
kvs
:
Record
<
ENRKey
,
ENRValue
>
= {}
Returns
Promise
<
ENR
>
Static
from
Public
Key
fromPublicKey
(
publicKey
:
Uint8Array
,
kvs
?:
Record
<
ENRKey
,
ENRValue
>
)
:
ENR
Parameters
publicKey
:
Uint8Array
kvs
:
Record
<
ENRKey
,
ENRValue
>
= {}
Returns
ENR
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
from
Peer
Id
from
Public
Key
Documentation
Loading...