Caravan Documentation
    Preparing search index...

    Function hardenedBIP32Index

    • Return the hardened version of the given BIP32 index.

      Hardening is equivalent to adding 2^31.

      Parameters

      • index: any

        BIP32 index

      Returns number

      the hardened index

      import {hardenedBIP32Index} from "@caravan/bitcoin";
      console.log(hardenedBIP32Index(44); // 2147483692