You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need to make sure that users who make a deposit request from a Ledger device can reclaim their funds if the request is "rejected". Ledger is quite picky about things, so we need to make sure that our deposit protocol is always compatible ledger. The task is to make sure that any changes that break this compatibility is detected, either manually or in CI.
2. Technical Details:
Ledger provides an emulator in https://github.com/LedgerHQ/speculos. They also provide a few bitcoin client libraries for developers to test interacting with ledger, with the Rust library living here: https://github.com/LedgerHQ/app-bitcoin-new/tree/develop/bitcoin_client_rs (and published on crates.io). Add an example, or an integration test if possible, that tests that a user can reclaim their deposited funds. This example or test should live in the sbtc crate in this repo. In either example, we should include instructions for how to set up the emulator before running the example or test.
2.1 Acceptance Criteria:
We have an example or integration test where we can check that a deposit can be reclaimed for Ledger users.
Feature - Setup ledger reclaim testing
1. Description
1.1 Context & Purpose
We need to make sure that users who make a deposit request from a Ledger device can reclaim their funds if the request is "rejected". Ledger is quite picky about things, so we need to make sure that our deposit protocol is always compatible ledger. The task is to make sure that any changes that break this compatibility is detected, either manually or in CI.
2. Technical Details:
Ledger provides an emulator in https://github.com/LedgerHQ/speculos. They also provide a few bitcoin client libraries for developers to test interacting with ledger, with the Rust library living here: https://github.com/LedgerHQ/app-bitcoin-new/tree/develop/bitcoin_client_rs (and published on crates.io). Add an example, or an integration test if possible, that tests that a user can reclaim their deposited funds. This example or test should live in the
sbtc
crate in this repo. In either example, we should include instructions for how to set up the emulator before running the example or test.2.1 Acceptance Criteria:
3. Related Issues and Pull Requests (optional):
The text was updated successfully, but these errors were encountered: