Preparing search index...
The search index is not available
libp2p
libp2p
@libp2p/peer-id-factory
createFromPubKey
Function createFromPubKey
create
From
Pub
Key
<
T
>
(
publicKey
)
:
Promise
<
Ed25519PeerId
|
Secp256k1PeerId
|
RSAPeerId
>
Type Parameters
T
extends
KeyTypes
Parameters
publicKey
:
PublicKey
<
T
>
Returns
Promise
<
Ed25519PeerId
|
Secp256k1PeerId
|
RSAPeerId
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
libp2p
Loading...