Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Secp256k1Program

Index

Constructors

Properties

programId: PublicKey

Public key that identifies the secp256k1 program

Methods

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

    Parameters

    • publicKey: number[] | Uint8Array | Buffer

      a 64 byte secp256k1 public key buffer

    Returns Buffer

Generated using TypeDoc