Class P2TR_MS

Constructors

Methods

  • Generate a multi-sig address

    Parameters

    • pubKeys: Buffer[]

      The public keys to use

    • minimumSignatureRequired: number

      The minimum number of signatures required

    • network: Network = networks.bitcoin

      The network to use

    Returns string

    • The generated address
    • If the address cannot be generated