Open tomastiminskas opened 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
Another option that supports key derivation and signing
https://github.com/essentiaone/HDWallet
Another option that supports key derivation and signing https://github.com/essentiaone/HDWallet
ya i think this one is better
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