Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SDK: Expose a way to fetch pending redemptions using wallet PKH #818

Merged
merged 2 commits into from
Jul 5, 2024

Conversation

lukasz-zimnoch
Copy link
Member

So far, the SDK exposed a way to fetch pending redemptions using plain-text wallet public key. This is problematic for use cases where the client has only the wallet public key hash. As the SDK uses the PKH internally anyway, we can easily address this problem by exposing a public function allowing to fetch pending redemptions using wallet PKH.

So far, the SDK exposed a way to fetch pending redemptions using plain-text
wallet public key. This is problematic for use cases where the client
has only the wallet public key hash. As the SDK uses the PKH internally anyway,
we can easily address this problem by exposing a public function allowing
to fetch pending redemptions using wallet PKH.
@lukasz-zimnoch lukasz-zimnoch self-assigned this Jul 5, 2024
@lukasz-zimnoch lukasz-zimnoch added the 🔌 typescript TypeScript library label Jul 5, 2024
@tomaszslabon tomaszslabon merged commit 6a875b1 into main Jul 5, 2024
38 checks passed
@tomaszslabon tomaszslabon deleted the sdk-redemptions-by-pkh branch July 5, 2024 11:28
tomaszslabon added a commit that referenced this pull request Jul 5, 2024
Depends on: #818 
Depends on: #820 

Here we migrate the monitoring package to the latest version of tBTC
SDK. We are using the latest `development` version of the SDK for now as
it contains some unreleased features and fixes that are useful for the
monitoring tool. Migration of the monitoring to the new tBTC SDK pays
off some tech debt but also reduces the number of requests sent to the
Ethereum node due to some optimizations introduced in the recent
versions of the SDK.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔌 typescript TypeScript library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants