Skip to content

A simple, localhost-based Proof-of-Work blockchain and cryptocurrency written in Ruby. Uses Sinatra, Gosu, and Faraday gems.

License

Notifications You must be signed in to change notification settings

karanshah0206/Swincoin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Swincoin

A simple, localhost-based Proof-of-Work blockchain and cryptocurrency written in Ruby. This is not an industry-ready blockchain or cryptocurrency, not suitable for real-world applications.

  • Byzantine Fault Tolerant
  • SHA256 Hashes
  • Nonce Generation (Complexity: 5)
  • RSA Pub/Secret Keys
  • Two-Way Peer Handshake
  • Multithreaded
  • P2P Decentralized (Nodes Run As Ports On Localhost)
  • Genesis Reward: 50000 Swincoins
  • Miner Reward: 15 Swincoins

Gem Install

(Tested on Ruby 2.7.3)

  • Gosu
  • Sinatra
  • Faraday
  • Colorize

Watch the demonstration on YouTube: https://youtu.be/UtL7f6W-tLI

About

A simple, localhost-based Proof-of-Work blockchain and cryptocurrency written in Ruby. Uses Sinatra, Gosu, and Faraday gems.

Topics

Resources

License

Stars

Watchers

Forks

Languages