Swift package for the Litecoin BDK fork (with MWEB).
Binary xcframework and release notes live in LitecoinDevKit/bdk-ffi.
Source of truth: ADOPTION.md § Blessed consumer pin.
| Tag (this repo) | Binary (bdk-ffi release) |
|---|---|
3.1.0-litecoin.2 |
3.1.0-litecoin.1 (bdkFFI.xcframework.zip) |
Use an exact pin for pre-release tags so SwiftPM does not skip them. Dogfood: DOGFOOD_CHECKLIST.md.
// Package.swift dependency
.package(url: "https://github.com/LitecoinDevKit/ltc-swift", exact: "3.1.0-litecoin.2")import LitecoinDevKit
let keys = try MasterKeys.fromSeed(seed: seed, network: .bitcoin)
let addr = try keys.receiveAddress(index: 0, network: .bitcoin)