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

Function createPeerId

  • createPeerId(init: PeerIdInit): PeerId
  • Parameters

    • init: PeerIdInit

    Returns PeerId

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

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