Awesome
Double Spending
This is my submission for Swift Student Challenge - WWDC2021. This playgrounds aims to teach you basics of Double Spending Attack. This submission was selected as a winner.
<p> <img alt="Swift" src="https://img.shields.io/badge/Swift-5-brightgreen"> <img alt="XCode" src="https://img.shields.io/badge/Swift Playgrounds-3.4.1-blueviolet"> <img alt="Pods" src="https://img.shields.io/badge/macOS-11.2.3-blue"> <img alt="Swift" src="https://img.shields.io/badge/CryptoKit-brightgreen"> <img alt="Swift" src="https://img.shields.io/badge/AVKit-pink"> <img alt="Moya" src="https://img.shields.io/badge/SwiftUI-orange"> </p>Introduction
It's been 38 years since David Chaum first introduced the idea of digital currency but even today, a lot of people find its working mysterious. The first cryptocurrency, Bitcoin was introduced in 2009 (just a little more than a decade ago). This year, a greater interest has been seen in cryptocurrencies due to their rising evaluation. Hence, this playground aims to teach about one major challenge all digital currencies face, i.e. the Double Spending Attack. We examine this using the concept of Goofy and Scrooge Coins. I had recently studied this concept as a part of my university curriculum and this concept was easy to grasp yet had a large impact on my understanding of cryptocurrencies. Hence, I built this playground to share my love for Disney, Cryptocurrencies and Coding.
Steps to Run
- Download the Swift Playgrounds App for macOS 11.2.3
- Clone this repository
- Open the playground using Swift Playgrounds
About this Playground
This is an informative playground that tries to teach you about Double Spending Attack and the need for P2P networks in cryptocurrencies. Some screenshots from the playground:
Goofy Coins
<p> <img src="screenshots/Goofy1.png" alt="Introduction to Goofy Coins" /> <img width="429" alt="Goofy2" src="https://user-images.githubusercontent.com/48411560/120388807-42762500-c349-11eb-9a5c-b9776f7b0a58.png"> <img width="429" alt="Goofy3" src="https://user-images.githubusercontent.com/48411560/120388873-53bf3180-c349-11eb-9c84-1ea368c50145.png"> <img width="1440" alt="Paying with Goofy Coins" src="https://user-images.githubusercontent.com/48411560/120389329-e9f35780-c349-11eb-85ba-84793fa1e0a9.png">Scrooge Coins
<img src="screenshots/introScrooge.png" alt="Introduction to Scrooge Coins" /> <img width="1440" alt="Screenshot 2021-06-02 at 2 29 41 AM" src="https://user-images.githubusercontent.com/48411560/120389690-65550900-c34a-11eb-8bfa-298d205f2dbe.png"> </p>License
Checkout the license here
Credits
Checkout the credits here