BitcoinCore.Swift
is a core package that implements a full Simplified Payment Verification (SPV
) client in Swift
. It implements Bitcoin P2P Protocol
and can be extended to be a client of other Bitcoin forks like BitcoinCash, Litecoin, etc. Currently, we have extensions BitcoinKit.Swift, BitcoinCashKit.Swift, LitecoinKit.Swift and DashKit.Swift that complement this package with blockchain(fork) specific logic and used by UnstoppableWallet
for integration of them.
Being an SPV client, BitcoinCore.Swift
downloads and validates all the block headers, inclusion of transactions in the blocks, integrity and immutability of transactions as described in the Bitcoin whitepaper or delegates validation to the extensions that implement the forks of Bitcoin.
P2PK
, P2PKH
, P2SH-P2WPKH
, P2WPKH
outputs support.Watch account
unable to spend funds)This package is designed to be used by a concrete kit like BitcoinKit.Swift. See BitcoinKit.Swift for more documentation.
Swift Package Manager is a dependency manager for Swift projects. You can install BitcoinCore.Swift
by adding a line in 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.
link |
Stars: 11 |
Last commit: 1 week ago |
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics