Skip to content

Commit 38403e0

Browse files
committed
Initial Commit
0 parents  commit 38403e0

File tree

8 files changed

+2254
-0
lines changed

8 files changed

+2254
-0
lines changed

.gitignore

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
.DS_Store
2+
/.build
3+
/.swiftpm
4+
/Packages
5+
/*.xcodeproj
6+
xcuserdata/
7+
DerivedData/
8+
.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata
9+
/*.xcframework
10+
!bdkFFI-umbrella.h
11+
!module.modulemap
12+
!info.plist
13+
*.xcframework.zip

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "bdk-ffi"]
2+
path = bdk-ffi
3+
url = [email protected]:bitcoindevkit/bdk-ffi.git

Package.swift

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
// swift-tools-version:5.5
2+
// The swift-tools-version declares the minimum version of Swift required to build this package.
3+
4+
import PackageDescription
5+
6+
let package = Package(
7+
name: "bdk-swift",
8+
platforms: [
9+
.macOS(.v12),
10+
.iOS(.v15)
11+
],
12+
products: [
13+
// Products define the executables and libraries a package produces, and make them visible to other packages.
14+
.library(
15+
name: "BitcoinDevKit",
16+
targets: ["bdkFFI", "BitcoinDevKit"]),
17+
],
18+
dependencies: [
19+
// Dependencies declare other packages that this package depends on.
20+
// .package(url: /* package url */, from: "1.0.0"),
21+
],
22+
targets: [
23+
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
24+
// Targets can depend on other targets in this package, and on products in packages this package depends on.
25+
.binaryTarget(
26+
name: "bdkFFI",
27+
url: "https://github.com/notmandatory/bdk-swift/releases/download/0.1.0/bdkFFI.xcframework.zip",
28+
checksum: "b34dc1dea2e53bc894f1ad61269e45de6c77dd6391bbb1318cfb0be17435c4db"),
29+
.target(
30+
name: "BitcoinDevKit",
31+
dependencies: ["bdkFFI"]),
32+
.testTarget(
33+
name: "BitcoinDevKitTests",
34+
dependencies: ["BitcoinDevKit"]),
35+
]
36+
)

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# bdk-swift
2+
3+
A description of this package.

0 commit comments

Comments
 (0)