airgap-it / airgap-vault

The AirGap Vault is installed on a spare smartphone that has no connection to any network, thus it is air gapped. This app handles the private key.
MIT License
386 stars 109 forks source link

BIP85 support - Deterministic Entropy From BIP32 Keychains #30

Closed AndreasGassmann closed 3 years ago

AndreasGassmann commented 3 years ago

There is a new BIP that is slowly being adopted by hardware wallets. Coldcard was the first to add support a couple months ago, now others are starting to plan this as well.

A non-technical explanation of BIP85 is that it allows you to deterministically generate new mnemonics out of a mnemonic.

So for example, you can have a mnemonic:

install scatter logic circle pencil average fall shoe quantum disease suspect usage

And then generate another mnemonics out of it, eg:

Index 1: girl mad pet galaxy egg matter matrix prison refuse sense ordinary nose Index 2: mystery car occur shallow stable order number feature else best trigger curious

Use case

There are many use-cases for BIP85:

Libraries

There was no bip85 library available in javascript, so I created one: https://github.com/AndreasGassmann/bip85

References

BIP85 Specs BIP39 tool from iancoleman PR

AndreasGassmann commented 3 years ago

This will be included in the next release

AndreasGassmann commented 3 years ago

It is included in 3.7.0