Return the default BIP32 root derivation path for the given addressType and network.
addressType
network
address type
bitcoin network
derivation path
import {multisigBIP32Root} from "@caravan/bitcoin";console.log(multisigBIP32Root(P2SH, MAINNET)); // m/45'/0'/0'console.log(multisigBIP32Root(P2SH_P2WSH, TESTNET); // m/48'/1'/0'/1' Copy
import {multisigBIP32Root} from "@caravan/bitcoin";console.log(multisigBIP32Root(P2SH, MAINNET)); // m/45'/0'/0'console.log(multisigBIP32Root(P2SH_P2WSH, TESTNET); // m/48'/1'/0'/1'
Return the default BIP32 root derivation path for the given
addressTypeandnetwork.