My submission for WWDC'21 Swift Student Challenge which was selected.

Overview

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.

Swift XCode Pods Swift Swift Moya

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

  1. Download the Swift Playgrounds App for macOS 11.2.3
  2. Clone this repository
  3. 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

Introduction to Goofy Coins Goofy2 Goofy3

Creating.Goofy.Coin.mov

Paying with Goofy Coins

Scrooge Coins

Introduction to Scrooge Coins

createScrooge.mov

Screenshot 2021-06-02 at 2 29 41 AM

Conclusion.mov

License

Checkout the license here

Credits

Checkout the credits here

You might also like...
Challenge: Throwback with SwiftUI 🕺🏻
Challenge: Throwback with SwiftUI 🕺🏻

Challenge: Throwback with SwiftUI 🕺🏻 https://developer.apple.com/news/?id=5qbbn6ut Built using: SF Symbols & LazyVGrid for the toolbar Reference ima

DiceChallenge - Hacking with SwiftUI Challenge - Dice simulator
DiceChallenge - Hacking with SwiftUI Challenge - Dice simulator

Some Dices Hacking with SwiftUI challenge turned into a real app available at th

WWDC22 Challenge: SwiftUI navigation hotdish
WWDC22 Challenge: SwiftUI navigation hotdish

Challenge: SwiftUI navigation hotdish See this challenge definition at: Challenge: SwiftUI navigation hotdish Proposed solution The new SwiftUI versio

A simple and lightweight Swift package which provides a SwiftUI view for interactive geo coordinates input!
A simple and lightweight Swift package which provides a SwiftUI view for interactive geo coordinates input!

LocationPicker for SwiftUI LocationPicker for SwiftUI is a very simple and lightweight Swift package which provides you a SwiftUI view for interactive

Nano framework which defines Haskell's undefined in Swift.

undefined for Swift Micro frameworks are popular now, so I'll go nano framework :-). This is all the code: /** * `undefined()` pretends to be able to

An example to-do list app using SwiftUI which is introduced in WWDC19
An example to-do list app using SwiftUI which is introduced in WWDC19

SwiftUITodo SwiftUITodo is an example to-do list application using SwiftUI which is first introduced in WWDC19 keynote. Requirements Xcode 11 Beta Swi

KHabit an open source, pure and minimalistic app which helps you maintain productive habits, and nothing more.

an open source, pure and minimalistic app which helps you maintain productive habits, and nothing more. The app is completely open source, it does not contain in-app or ads, and does not track the user in any way.

an open source, pure and minimalistic app which helps you maintain productive habits, and nothing more.

KHabit an open source, pure and minimalistic app which helps you maintain productive habits, and nothing more. The app is completely open source, it d

Owner
Garima Bothra
 WWDC'21 Scholar | 3rd at GHCI Code-a-thon 2020 | iOS Developer, Blockchain Enthusiast || UIKit | SwiftUI
Garima Bothra
My project for WWDC21 Swift Student Challenge!

Art with Times Table An interactive book that shows the figures that are generated when times tables are drawn inside a circle. This project was appro

Lucas Claro 10 Dec 30, 2022
My WWDC22 Swift Student Challenge submission [Submitted]

WWDC22 Swift Student Challenge Submission An educational iPad app teaching some fundamental rules of typography in a fun and interactive way. Created

null 11 Nov 3, 2022
My WWDC 2022 swift student challenge submission - GradientDescend

GradientDescend Welcome to GradientDescend! This is my submission for the WWDC 2022 Swift Student Challenge. If you'd like, you can check out Gradient

Ryan Du 10 Oct 9, 2022
Loopy Carousel: Submission to the SwiftUI Series **Workarounds** challenge

Loopy Carousel Submission to the SwiftUI Series Workarounds challenge. Workaround details In order to create the illusion of looping through the cards

Diego Lavalle 3 May 22, 2022
Swift Playgrounds desenvolvido para o Swift Student Challenge da WWDC 21

Pile Up Swift Playgrounds desenvolvido para o Swift Student Challenge da WWDC 21 Descrição Pile Up é um quebra cabeça cujo objetivo é empilhar os bloc

Beatriz Sato 3 Jun 5, 2021
Swift playground teaching basics of buffer overflow vulnerability and ARM64 assembly by exploiting vulnerable app on ARM64 emulator (WWDC22 Swift Student Challenge Winner)

Pwnground Project overview Pwnground is a project created as my submission for WWDC22 Swift Student Challenge (winner). It is an interactive Swift Pla

Bartłomiej Pluta 4 Aug 8, 2022
This is a project about Swift Student Challenge - WWDC22 [Submitted] Detailed walk through video link below.

Oh My Flag The App Oh My Flag helps students get familiar with flags. It is both educating and entertaining with the design of multi-module and intera

Frank Chu 10 Jun 30, 2022
Accepted in WWDC22 Swift Student Challenge. This is an app dedicated to my grandfather.

WWDC22 Introduction Accepted in WWDC22 Swift Student Challenge. This is an app dedicated to my grandfather. In short, Grandpa's Farm is an app in whic

Xikai Liu 6 Nov 26, 2022
A small macOS menubar app designed to hide the dock on selected spaces.

HideMyDock A small macOS menubar app designed to hide the dock on selected spaces. Installation Manually You can download the latest version of .dmg f

Alexander Ushaev 42 Jan 2, 2023
A simple Student Management on an iOS App

Student Management XCode Swift App A simple Student Management on an Xcode Swift App Table of Contents About the projects Technologies Features Setup

Long Ta 0 Dec 3, 2021