Skip to content

Minimal SwiftUI additions to bdk-swift #9

@danielnordh

Description

@danielnordh

Instead of creating a 'fat' BDKManager class, what is the most minimal version of SwiftUI syntactic sugar we could add to BitcoinDevKit itself? This could either be done directly in the only file at the moment, or as a separate file for clarity.

What does every SwiftUI wallet developer need?

  • @wallet
  • @balance (don't think wallet.getBalance will be enough to automatically update balance)
  • @Transactions (ideally with all required info, to / from etc)
  • Sync (once and continuously)
  • Send (needs blockchainconfig?)

To support these, you need to create / keep references to:

network
databaseConfig
blockchain

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions