You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This project builds a Swift package that provides [Swift] language bindings for the
4
-
[`bdk`] library. The Swift language bindings are created by the [`bdk-ffi`] project which
5
-
is included as a git submodule of this repository.
3
+
This project is only used to publish a [Swift] package manager package called `bdk-swift` with language bindings and corresponding bdkFFI.xcframework for the
4
+
`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.
6
5
7
-
## How to Use
8
-
9
-
To use the Swift language bindings for [`bdk`] in your [Xcode] iOS or MacOS project add
10
-
the github repository (https://github.com/bitcoindevkit/bdk-swift) and select one of the
11
-
release versions. You may then import and use the `BitcoinDevKit` library in your Swift
12
-
code. For example:
13
-
14
-
```swift
15
-
importBitcoinDevKit
16
-
17
-
...
18
-
let desc ="wpkh([c258d2e4/84h/1h/0h]tpubDDYkZojQFQjht8Tm4jsS3iuEmKjTiEGjG6KnuFNKKJb5A6ZUCUZKdvLdSDWofKi4ToRCwb9poe1XdqfUnP4jaJjCB2Zwv11ZLgSbnZSNecE/0/*)"
0 commit comments