Class Secp256k1Program

Properties

programId: PublicKey = ...

Public key that identifies the secp256k1 program

Methods

  • Construct an Ethereum address from a secp256k1 public key buffer.

    Parameters

    • publicKey: number[] | Uint8Array | Buffer

      a 64 byte secp256k1 public key buffer

    Returns Buffer