LtbLightning / bdk-flutter

Bitcoin Development Kit - Flutter Package
MIT License
63 stars 28 forks source link

How to get balance without descriptor? #92

Open hutomosaktikartiko opened 1 year ago

hutomosaktikartiko commented 1 year ago

Currently, this is how I get balance in my code:

  1. createDescriptorSecretKey using mnemonic
  2. createDescriptor using createDescriptorSecretKey
  3. restoreWallet using the created descriptor
  4. getBalance using the restored wallet

Can I cut the method, to get the balance using the public key like getting the Ethereum balance using web3dart?