Checkpoints for bitcoin-based blockchains. Bitcoin, Dash, Litecoin, BitcoinCash
- Xcode 15.4+
- Swift 5.10+
- iOS 14.0+
dependencies: [
.package(url: "https://github.com/sunimp/Checkpoints.git", .upToNextMajor(from: "1.0.0"))
]
let checkpoints = try CheckpointData(blockchain: .dash, network: .main, blockType: .last)
checkpoints.block // main block data
checkpoints.additionalBlocks // additional blocks data