Swiftpack.co - bitcoindevkit/bdk-swift as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by bitcoindevkit.
bitcoindevkit/bdk-swift 0.30.0
Swift package for bdk-ffi
⭐️ 26
🕓 2 weeks ago
iOS macOS
.package(url: "https://github.com/bitcoindevkit/bdk-swift.git", from: "0.30.0")

bdk-swift

This project is only used to publish a Swift package manager package called bdk-swift with language bindings and corresponding bdkFFI.xcframework for the BitcoinDevKit framework created by the bdk-ffi project. The Swift language bindings files are created by the bdk-ffi ./bdk-ffi sub-project which are copied into, committed and tagged in this bdk-swift repo by the publish-spm github actions workflow.

Any changes to the bdk-swift Swift package must be made via the bdk-ffi repo.

How to Use

To use the Swift language bindings for BitcoinDevKit in your Xcode iOS or MacOS project:

  1. Add the "bdk-swift" package from the repo https://github.com/bitcoindevkit/bdk-swift and select one of the latest minor versions.
  2. Add the BitcoinDevKit framework in your Target config.
  3. Import and use the BitcoinDevKit library in your Swift code. For example:
    import BitcoinDevKit
    
    ...
    

GitHub

link
Stars: 26
Last commit: 2 weeks ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

Release 0.30.0
2 weeks ago

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics