Skip to content

0.1.0

Latest

Choose a tag to compare

@csjones csjones released this 28 May 16:11
7a350d4

0.1.0 - first public release

A Swift framework for Bitcoin consensus validation, with the option to embed a full Bitcoin node in-process.

What's included

  • BitcoinKernel product — wraps Bitcoin Core's libbitcoinkernel for consensus validation without a daemon
  • Bitcoin product — embeds bitcoind in-process via a typed BitcoinConfig builder and Daemon lifecycle
  • Async/await RPCClient covering all 171 Bitcoin Core v31.0 JSON-RPCs
  • Pluggable RPC transports: direct in-process, HTTP, cookie-file, or auto-detect
  • BlockchainSync engine and BlockSource protocol for custom block providers
  • KVO-observable Foundation.Progress for SwiftUI and BGContinuedProcessingTask
  • Tor support via SOCKS5-configured URLSession
  • Optional wallet package trait for Bitcoin Core's wallet RPCs

Platforms

macOS 15+, iOS 18+, visionOS 2+, and tvOS 18+ (BitcoinKernel only — the Bitcoin product depends on execvp(), marked __TVOS_PROHIBITED). Swift 6.3 / Xcode 26.4+.

Installation

.package(url: "https://github.com/21-DOT-DEV/swift-bitcoinkernel.git", exact: "0.1.0"),

See the README for full install and usage examples.

Caution

Pre-1.0 (SemVer 0.y.z) — the public API may change at any release; pin with exact:. Mainnet operations move real value; test on regtest or signet first.

Full Changelog: https://github.com/21-DOT-DEV/swift-bitcoinkernel/commits/0.1.0