Preparing search index...
The search index is not available
Documentation
Documentation
@libp2p/peer-id
peerIdFromKeys
Function peerIdFromKeys
peer
Id
From
Keys
(
publicKey
:
Uint8Array
, privateKey
?:
Uint8Array
)
:
Promise
<
PeerId
>
Parameters
publicKey:
Uint8Array
A marshalled public key
Optional
privateKey:
Uint8Array
A marshalled private key
Returns
Promise
<
PeerId
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
Documentation
@libp2p/peer-
id -
v2.0.4
<internal>
@libp2p/peer-
id-
factory -
v2.0.4
create
Peer
Id
peer
Id
From
Bytes
peer
Id
FromCID
peer
Id
From
Keys
peer
Id
From
Peer
Id
peer
Id
From
String
A marshalled public key