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
https://github.com/zcash/kotlin-bip39
val mnemonicCode = MnemonicCode(ENTROPY_BYTES)
The mnemonic will then be passed to the Sphinx Key to initialize the Validating Lightning Signer
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
https://github.com/zcash/kotlin-bip39 val mnemonicCode = MnemonicCode(ENTROPY_BYTES) The mnemonic will then be passed to the Sphinx Key to initialize the Validating Lightning Signer