Blockchain in Swift

A simple Proof-of-Work Blockchain built in Swift.


  • Xcode 13.0
  • Swift 5.2
  • Vapor 4.49
  • Swift NIO 2.33.0

Getting started

Clone this repo, and navigate to it’s directory in your Terminal. Type the following to open Xcode:

$ vapor xcode

Spawning more Nodes in your Local Environment

You can simulate more Nodes serving this application by spawning them in different ports.

$ vapor run serve --port 8081 # port of your choice


View Github