stakwork / sphinx-ios

Client app for communication over the lightning network.
MIT License
18 stars 11 forks source link

Non-Custodial #1: KeyGen on the client #202 #55

Open tomastiminskas opened 2 years ago

tomastiminskas commented 2 years ago

The first step of making Sphinx non-custodial is to generate secrets on the phone, that are never passed to relay.

Generate a 32-byte random secret in a secure way. This is referred to as the ENTROPY

ios:

https://github.com/bitmark-inc/bip39-swift BIP39Util.mnemonicsFromSecret(Data(hexString: "HEX_ENCODED_ENTROPY")!) kotlin

tomastiminskas commented 2 years ago

Another option that supports key derivation and signing

https://github.com/essentiaone/HDWallet

Evanfeenstra commented 2 years ago

Another option that supports key derivation and signing

https://github.com/essentiaone/HDWallet

ya i think this one is better