Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Secp256k1Program

Index

Constructors

Properties

programId: PublicKey

Public key that identifies the secp256k1 program

Methods

  • publicKeyToEthAddress(publicKey: Buffer | Uint8Array | number[]): Buffer
  • Construct an Ethereum address from a secp256k1 public key buffer.

    Parameters

    • publicKey: Buffer | Uint8Array | number[]

      a 64 byte secp256k1 public key buffer

    Returns Buffer

Generated using TypeDoc