This is a simple Blockchain implementation with a Proof of Work as an Xcode playground showing the number of attempts to find the hash
- Run
git submodule update --init
to get the CryptoSwift package - Open
SwiftBlockchain.xcodeproj
and build it - Open
SwiftBlockchain.playground
file within the project - Adjust the
difficulty
to modify the number of required attempts