0

Is there a way for me to create an app for only my personal use, on my iPhone, that would create a valid receive address for my Nano Ledger S? I know that all of the address are derived from a master key, is there a way for me to determine what the master key is, and create software to create my own valid addresses?

I am looking for a way to easily accept BTC in person, with a new address, without having to carry a hardware wallet around.

4
  • Not really an answer: but depending on how often you need to accept a payment, you could just generate a bunch of receiving addresses on your ledger ahead of time, and then save them to your phone somehow (email, notes, etc). Your idea is certainly possible though; look up extended public keys (xpub keys).
    – chytrik
    Commented May 9, 2018 at 18:32
  • Thanks for the suggestion! Yeah I have a couple I have saved, but I thought the Nano needed to receive something on the address before generating a new one? Commented May 9, 2018 at 18:44
  • I believe you could work around that issue by just creating many new ‘accounts’ on your ledger. Each will show a unique address. I believe you can also find an ‘export xpub key’ command in the settings.
    – chytrik
    Commented May 9, 2018 at 18:52
  • That is perfect, that is exactly what I need. If I can export the master public key I can make my own! Thanks. Commented May 9, 2018 at 18:56

1 Answer 1

1

You can export your extended public key from the ledger app, by finding the appropriate command in the settings menu. Using the xpub and appropriate software, you can generate many receiving addresses that can be stored on your phone.

Alternatively, you can create many new ‘accounts’ in the ledger bitcoin app, and each will show you a unique address that you could copy to a text file on your phone. (This is a workaround to ledger only showing one receiving address at a time otherwise).

(Originally a comment, but it kinda turned into an answer)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.