Skip to content

Commit

Permalink
Extract stateless functions into wallet library module
Browse files Browse the repository at this point in the history
This is a WIP to get feedback not really for a thorough review.

The goal of this commit/branch is to extract wallet
functionality into a module so it can moved into the baru library. The
motivation for this refactor is so the platform team can upgrade the
protocols to use PSET's. This should also take maintenance workload away
 from from product team.

 Currently there is a Wallet trait from the library that is implemented
 using Esplora in the application. There is a plan to remove this trait
 for the Esplora stuff to live in the baru library.
  • Loading branch information
rishflab committed Jul 30, 2021
1 parent c5b8a00 commit 1733c42
Show file tree
Hide file tree
Showing 25 changed files with 1,107 additions and 1,272 deletions.
3 changes: 3 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions extension/wallet/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ default = [ "console_error_panic_hook" ]
[dependencies]
aes-gcm-siv = { version = "0.9", features = [ "std" ] }
anyhow = "1"
async-trait = "0.1"
baru = "0.1"
bdk = { version = "0.4", default-features = false }
coin_selection = { path = "../../coin_selection" }
Expand Down
66 changes: 0 additions & 66 deletions extension/wallet/src/cache_storage.rs

This file was deleted.

285 changes: 0 additions & 285 deletions extension/wallet/src/esplora.rs

This file was deleted.

Loading

0 comments on commit 1733c42

Please sign in to comment.