This replaces the specification field added in #120, with a new path type slip10:. This means that you can now use something like ["slip10:44'", "slip10:60'", /* ... */] as derivation path, as well as the current bip32: derivation paths. This simplifies the BIP-32 derivation logic, and separates SLIP-10 and BIP-32 specific logic to a separate file.
While BIP-32 and SLIP-10 are mostly the same, there are some subtle differences. Projects that require full compatibility with one or the other spec can now choose based on the path type.
This replaces the specification field added in #120, with a new path type
slip10:
. This means that you can now use something like["slip10:44'", "slip10:60'", /* ... */]
as derivation path, as well as the currentbip32:
derivation paths. This simplifies the BIP-32 derivation logic, and separates SLIP-10 and BIP-32 specific logic to a separate file.While BIP-32 and SLIP-10 are mostly the same, there are some subtle differences. Projects that require full compatibility with one or the other spec can now choose based on the path type.
Example
This works:
This also works:
This does not work anymore:
Breaking changes
ed25519
can no longer be used withbip32:
derivation paths, as it's only defined in SLIP-10.