Function compilerOperationHelperDeriveHdPrivateNode

  • Parameters

    • __namedParameters: {
          addressIndex: number;
          configuration: {
              ripemd160: {
                  hash: ((input) => Uint8Array) & ((input) => Uint8Array);
              };
              secp256k1: {
                  addTweakPrivateKey: ((privateKey, tweakValue) => string | Uint8Array);
                  addTweakPublicKeyCompressed: ((publicKey, tweakValue) => string | Uint8Array);
                  derivePublicKeyCompressed: ((privateKey) => string | Uint8Array);
                  signMessageHashDER: ((privateKey, messageHash) => string | Uint8Array);
                  signMessageHashSchnorr: ((privateKey, messageHash) => string | Uint8Array);
                  validatePublicKey: ((publicKey) => boolean);
              };
              sha256: {
                  hash: ((input) => Uint8Array) & ((input) => Uint8Array);
              };
              sha512: {
                  hash: ((input) => Uint8Array) & ((input) => Uint8Array);
              };
          };
          entityHdPrivateKey: string;
          entityId: string;
          hdKey: WalletTemplateHdKey;
          identifier: string;
      }
      • addressIndex: number
      • configuration: {
            ripemd160: {
                hash: ((input) => Uint8Array) & ((input) => Uint8Array);
            };
            secp256k1: {
                addTweakPrivateKey: ((privateKey, tweakValue) => string | Uint8Array);
                addTweakPublicKeyCompressed: ((publicKey, tweakValue) => string | Uint8Array);
                derivePublicKeyCompressed: ((privateKey) => string | Uint8Array);
                signMessageHashDER: ((privateKey, messageHash) => string | Uint8Array);
                signMessageHashSchnorr: ((privateKey, messageHash) => string | Uint8Array);
                validatePublicKey: ((publicKey) => boolean);
            };
            sha256: {
                hash: ((input) => Uint8Array) & ((input) => Uint8Array);
            };
            sha512: {
                hash: ((input) => Uint8Array) & ((input) => Uint8Array);
            };
        }
        • ripemd160: {
              hash: ((input) => Uint8Array) & ((input) => Uint8Array);
          }
          • hash: ((input) => Uint8Array) & ((input) => Uint8Array)
        • secp256k1: {
              addTweakPrivateKey: ((privateKey, tweakValue) => string | Uint8Array);
              addTweakPublicKeyCompressed: ((publicKey, tweakValue) => string | Uint8Array);
              derivePublicKeyCompressed: ((privateKey) => string | Uint8Array);
              signMessageHashDER: ((privateKey, messageHash) => string | Uint8Array);
              signMessageHashSchnorr: ((privateKey, messageHash) => string | Uint8Array);
              validatePublicKey: ((publicKey) => boolean);
          }
          • addTweakPrivateKey: ((privateKey, tweakValue) => string | Uint8Array)
              • (privateKey, tweakValue): string | Uint8Array
              • Parameters

                • privateKey: Uint8Array
                • tweakValue: Uint8Array

                Returns string | Uint8Array

          • addTweakPublicKeyCompressed: ((publicKey, tweakValue) => string | Uint8Array)
              • (publicKey, tweakValue): string | Uint8Array
              • Parameters

                • publicKey: Uint8Array
                • tweakValue: Uint8Array

                Returns string | Uint8Array

          • derivePublicKeyCompressed: ((privateKey) => string | Uint8Array)
              • (privateKey): string | Uint8Array
              • Parameters

                • privateKey: Uint8Array

                Returns string | Uint8Array

          • signMessageHashDER: ((privateKey, messageHash) => string | Uint8Array)
              • (privateKey, messageHash): string | Uint8Array
              • Parameters

                • privateKey: Uint8Array
                • messageHash: Uint8Array

                Returns string | Uint8Array

          • signMessageHashSchnorr: ((privateKey, messageHash) => string | Uint8Array)
              • (privateKey, messageHash): string | Uint8Array
              • Parameters

                • privateKey: Uint8Array
                • messageHash: Uint8Array

                Returns string | Uint8Array

          • validatePublicKey: ((publicKey) => boolean)
              • (publicKey): boolean
              • Parameters

                • publicKey: Uint8Array

                Returns boolean

        • sha256: {
              hash: ((input) => Uint8Array) & ((input) => Uint8Array);
          }
          • hash: ((input) => Uint8Array) & ((input) => Uint8Array)
        • sha512: {
              hash: ((input) => Uint8Array) & ((input) => Uint8Array);
          }
          • hash: ((input) => Uint8Array) & ((input) => Uint8Array)
      • entityHdPrivateKey: string
      • entityId: string
      • hdKey: WalletTemplateHdKey
      • identifier: string

    Returns CompilerOperationError | CompilerOperationSuccess

Generated using TypeDoc