BitcoinCore for Bitcoin, BitcoinCash(ABC), Litecoin and Dash wallet toolkit for Swift. This is a full implementation of SPV node including wallet creation/restore, synchronization with network, send/receive transactions, and more.
- Full SPV implementation for fast mobile performance
- Send/Receive Legacy transactions (P2PKH, P2PK, P2SH)
- BIP32 hierarchical deterministic wallets implementation.
- BIP39 mnemonic code for generating deterministic keys.
- BIP44 multi-account hierarchy for deterministic wallets.
- BIP21 URI schemes, which include payment address, amount, label and other params
Core must be used by concrete Kit, i.e. BitcoinKit.Swift, DashKit.swift...
- Xcode 10.0+
- Swift 5+
- iOS 13+
To run tests you need make cuckoo generator using instructions from https://github.com/Brightify/Cuckoo
The Swift Package Manager is a tool for automating the distribution of Swift code
and is integrated into the swift
compiler. It is in early development, but HdWalletKit does support its use on
supported platforms.
Once you have your Swift package set up, adding HdWalletKit as a dependency is as easy as adding it to
the dependencies
value of your Package.swift
.
dependencies: [
.package(url: "https://github.com/horizontalsystems/BitcoinCore.Swift.git", .upToNextMajor(from: "1.0.0"))
]
The BitcoinCore.Swift
toolkit is open source and available under the terms of the MIT License.