
Bitcoin library and network client written entirely in Swift – maintained by @notcraigwright
The Workchain
Joined March 2025
- Tweets92
- Following483
- Followers60
- Likes315
If you're on GitHub please give us a ⭐️ it will help us reach more potential contributors, users and devs! Thanks 🙏
Please give a #GitHub star if you love #Bitcoin #SwiftLang or just #FOSS 🤩
github.com/swift-bitcoin/swi…
Swift Bitcoin uses Ordo One’s Benchmark library to establish a performance baseline and track improvements.
The latest additions to our benchmarks repository helped us optimize RIPEMD-160 and SipHash-2-4 algorithms and make them memory-safe.
github.com/swift-bitcoin/swi…
Swift Bitcoin retweeted
Thanks to Swift Log, Metrics, Profile Recorder and lastly Distributed Tracing @SwiftBitcoinOrg now has complete Open Telemetry support. Use something like Grafana with Loki, Prometheus, Pyroscope and Tempo to store, analyze and visualize reported data!
github.com/swift-bitcoin/swi…
Swift Bitcoin retweeted
Replying to @lopp
@SwiftBitcoinOrg still going strong! Contributors wanted though (human or otherwise)
Swift Bitcoin retweeted
What a full @SwiftLang version 6 to Swift 7 migration (upcoming language features) looks like:
github.com/swift-bitcoin/swi…
More imports but also more focused and clearer dependencies, among other changes.
Swift Bitcoin retweeted
Replying to @stevenroose3
Lots to work on!
Also consider contributing to @SwiftBitcoinOrg! Tons of good first issues: github.com/swift-bitcoin/swi…
Swift Bitcoin retweeted
Replying to @darosior
There's SO MUCH to do. When I naively started Swift Bitcoin years ago I thought it was just going to be BIPs but soon discovered it was lot more like DDoS mitigation, optimizing… Here's a list of good first issues for anyone interested in contributing:
github.com/swift-bitcoin/swi…
Swift Bitcoin retweeted
Tightening some screws in Swift Bitcoin by enabling all @SwiftLang Upcoming Features:
- ExistentialAny
- MemberImportVisibility
- InternalImportsByDefault
Didn't know our API could be so leaky 💧
Our Swift LMDB fork was supercharged with:
- LLVM API notes
- Memory safe interop wrappers
- 0-copy custom bindings (span based)
- ~Copyable and ~Escapable API
- Exit/compilation tests
- DocC documentation catalog
For a faster and safer Swift Bitcoin!
github.com/swift-bitcoin/swi…
Swift Bitcoin retweeted
Finally I got around to bring @SwiftLang inline arrays all across the @SwiftBitcoinOrg codebase with 0-copy!
- Bloch hashes
- Transaction (witness) identifiers
- Merkle roots
- Targets
For Chainwork we are using an optimized UInt256 representation.
github.com/swift-bitcoin/swi…
Swift Bitcoin retweeted
Swift 6.4.2 is here 🔧 This maintenance release brings stability improvements to the compiler, Swift Package Manager, Swift Build, and Foundation. Read more: forums.swift.org/t/announcin…
Swift Bitcoin retweeted
Replying to @SwiftBitcoinOrg
@SwiftBitcoinOrg integration of secp256k1 looking great with @SwiftLang's safe interoperability wrappers and LLVM API notes! We've eliminated the last remaining C function and the project is now 99% compiler-guaranteed memory safe (some polyfills left)
github.com/swift-bitcoin/swi…
Swift Bitcoin retweeted
Embedded Swift supporting untyped throws might just be what we need to get Swift Bitcoin into something like the ESP-32 (RISC-V) – we actually tried to make all our throws typed but found impedance issue against many core Swift APIs that are not built for this.
Embedded Swift is a subset of Swift built for tiny, constrained hardware, with far smaller binaries while keeping the language you already know. Swift 6.4 brings it closer to full Swift than ever, supporting "any" types, untyped throws, and metatypes. swift.org/blog/embedded-swif…
Swift Bitcoin retweeted
Embedded Swift is a subset of Swift built for tiny, constrained hardware, with far smaller binaries while keeping the language you already know. Swift 6.4 brings it closer to full Swift than ever, supporting "any" types, untyped throws, and metatypes. swift.org/blog/embedded-swif…
In the wake of the @COLDCARDwallet scandal we welcome everyone and their LLMs to audit/fix our code… particularly around seed generation on iOS/macOS/Android/Linux/Windows/WASM and Embedded. Thank you!
github.com/swift-bitcoin/swi…
Linux static binaries require no runtime dependencies and run on all distros. ARM and x86 architectures supported.
Took me a while (I suck at devops) but static Linux binaries for @SwiftBitcoinOrg are now attached to each GH release for download:
bcnode - Bitcoin Node (daemon)
bcutil - Bitcoin Utility (rpc and off-chain)
github.com/swift-bitcoin/swi…
New quarterly progress report published (OpenSats commitment)
Swift Bitcoin is officially at par with Core in terms of mempool policy, consensus and general peer-to-peer behavior including most DDoS mitigations.
swiftbitcoin.org/post/2026-0….
Swift Bitcoin retweeted
BIP54: “Consensus Cleanup” was just advanced to Complete: github.com/bitcoin/bips/blob…
Let’s do this!
Swift Bitcoin retweeted
All bitcoin policy conveniently rolled into a single PR 😅 github.com/swift-bitcoin/swi…





