]> Untitled Git - bdk/commit
feat(bdk)!: have separate methods for creating and loading `Wallet`
author志宇 <hello@evanlinjin.me>
Wed, 25 Oct 2023 22:20:37 +0000 (06:20 +0800)
committer志宇 <hello@evanlinjin.me>
Wed, 15 Nov 2023 23:04:08 +0000 (07:04 +0800)
commit6cf3963c6cfeacc8cd9d59bdb0bafded5022baaf
tree5ce1a795a172ac91f91f0b6527a2040ec21411e1
parent7d5f31f6cc323241e866c136656f9674e0bf7c53
feat(bdk)!: have separate methods for creating and loading `Wallet`

`Wallet::new` now creates a new wallet. `Wallet::load` loads an existing
wallet. The network type is now recoverable from persistence. Error
types have been simplified.
crates/bdk/src/error.rs
crates/bdk/src/wallet/mod.rs
example-crates/wallet_electrum/src/main.rs
example-crates/wallet_esplora_async/src/main.rs
example-crates/wallet_esplora_blocking/src/main.rs