A pure‑Swift SDK for Bitcoin SV providing keys, addresses, HD wallets, transactions, scripts, signatures, encryption and SPV verification.
Be the first to ask Henry Hudson something.
What do you think? ...
SwiftBSV is a pure‑Swift SDK for Bitcoin SV that provides cryptographic primitives, key and address handling, BIP‑39 mnemonic generation, BIP‑32 HD wallets, transaction building, script and opcode support, signature creation, BRC‑42 invoice keys, BRC‑2 ECIES encryption, and SPV verification of block headers and Merkle proofs.
It can be added via Swift Package Manager by adding the repository URL as a dependency.
Full documentation is available as a PDF in the repository.
Earn XP for sharing
Sign in to get a personal referral link and earn XP every time someone visits through your link.
No reviews yet — be the first.
```swift
let mnemonic = Bip39.create()
let seed = Bip39.createSeed(mnemonic: mnemonic)
let root = Bip32(seed: seed, network: .mainnet)
let receive = root.derivedKey(path: "m/44'/236'/0'/0/0")!
print(receive.address) // 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa
```