Cashu-TS - v3.3.0
    Preparing search index...

    Function createNewMintKeys

    • Creates new mint keys.

      Parameters

      • pow2height:
            | 0
            | 1
            | 2
            | 3
            | 4
            | 5
            | 6
            | 7
            | 8
            | 9
            | 10
            | 11
            | 12
            | 13
            | 14
            | 15
            | 16
            | 17
            | 18
            | 19
            | 20
            | 21
            | 22
            | 23
            | 24
            | 25
            | 26
            | 27
            | 28
            | 29
            | 30
            | 31
            | 32
            | 33
            | 34
            | 35
            | 36
            | 37
            | 38
            | 39
            | 40
            | 41
            | 42
            | 43
            | 44
            | 45
            | 46
            | 47
            | 48
            | 49
            | 50
            | 51
            | 52
            | 53
            | 54
            | 55
            | 56
            | 57
            | 58
            | 59
            | 60
            | 61
            | 62
            | 63
            | 64

        Number of powers of 2 to create (Max 65).

      • Optionalseed: Uint8Array<ArrayBufferLike>

        (Optional). Seed for key derivation.

      • Optionaloptions: { expiry?: number; input_fee_ppk?: number; unit?: string; versionByte?: number }
        • Optionalexpiry?: number

          (optional) expiry of the keyset.

        • Optionalinput_fee_ppk?: number

          (optional) Input fee for keyset (in ppk)

        • Optionalunit?: string

          (optional) the unit of the keyset. Default: sat.

        • OptionalversionByte?: number

          (optional) version of the keyset ID. Default: 1.

      Returns KeysetPair

      KeysetPair object.

      If keyset versionByte is not valid.