Github
  • Preparing search index...
  • The search index is not available
Documentation
  • Documentation
  • iso-filecoin
  • address
  • fromPublicKey

Function fromPublicKey

  • fromPublicKey(
        bytes: Uint8Array<ArrayBufferLike>,
        network: Network,
        type: "SECP256K1" | "BLS",
    ): AddressSecp256k1 | AddressBLS

    Create address from public key bytes Only for f1 SECP256K1 and f3 BLS

    Parameters

    • bytes: Uint8Array<ArrayBufferLike>
    • network: Network
    • type: "SECP256K1" | "BLS"

    Returns AddressSecp256k1 | AddressBLS

    IAddress

    • Defined in packages/iso-filecoin/src/address.js:257

Settings

Member Visibility
Github
Documentation
  • Loading...

Generated using TypeDoc