<p>Ledger provides a python library which also links to some limited documentation of the API: <a href="https://github.com/ledgerhq/btchip-python" rel="nofollow noreferrer">https://github.com/ledgerhq/btchip-python</a></p>

CC BY-SA 4.0
2021-05-12T17:03:22.897Z
2021-05-12T17:03:22.897Z
Ava Chow
<p>One can find the Ledger Bitcoin source code here:</p>
<p><a href="https://github.com/LedgerHQ/app-bitcoin" rel="nofollow noreferrer">https://github.com/LedgerHQ/app-bitcoin</a></p>
<p>I am trying to understand how a Ledger app account is initialized or restored.</p>
<p>Can someone point me to another 'official' project, which is communicating with this Ledger firmware?
Wallets typically have user functionality to initialize or restore a wallet. I am interested in how this is mapped or delegated to the hardware device.</p>
<p>I am interested in the parts where APDU commands are sent to the device to initialize or restore the device.</p>
<p>Sorry if this question is vague, or contains factual errors.</p>

<ledger-hardware-wallet>
Understanding how initializing the Ledger Bitcoin hardware wallet works
diego321
# Understanding how initializing the Ledger Bitcoin hardware wallet works

(Asked by: username_0 on 2021-05-12)

One can find the Ledger Bitcoin source code here:

<https://github.com/LedgerHQ/app-bitcoin>

I am trying to understand how a Ledger app account is initialized or restored.

Can someone point me to another 'official' project, which is communicating with this Ledger firmware?
Wallets typically have user functionality to initialize or restore a wallet. I am interested in how this is mapped or delegated to the hardware device.

I am interested in the parts where APDU commands are sent to the device to initialize or restore the device.

Sorry if this question is vague, or contains factual errors.

**Tags:** ledger-hardware-wallet


---

## 1 answers

### Answer by username_1 on 2021-05-12. Score: 0 | Accepted answer

Ledger provides a python library which also links to some limited documentation of the API: <https://github.com/ledgerhq/btchip-python>


---

