• Preparing search index...
  • The search index is not available
Documentation
  • Documentation
  • @libp2p/peer-id
  • peerIdFromString

Function peerIdFromString

  • peerIdFromString(str: string, decoder?: MultibaseDecoder<any>): PeerId
  • Parameters

    • str: string
    • Optional decoder: MultibaseDecoder<any>

    Returns PeerId

    • Defined in libp2p-peer-id/src/index.ts:196

Settings

Member Visibility

Theme

Modules

  • Documentation
    • @libp2p/peer-id - v2.0.4
      • <internal>
    • @libp2p/peer-id-factory - v2.0.4
  • createPeerId
  • peerIdFromBytes
  • peerIdFromCID
  • peerIdFromKeys
  • peerIdFromPeerId
  • peerIdFromString