Skip to content

sshh12/RanchCoin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RanchCoin

A "CryptoCurrency" for EconFair.

Live Code

Features

  • View balance and see transaction details
  • Redeem RanchCoin code (Manually or QR code)
  • Send RanchCoin (Manually/email/QR)
  • Request RanchCoin (Manually/email/QR)
  • Transactions validated server side
  • Use Google accounts

Dependencies

Setup

Realtime Database

ranchcoin
|
|--- accounts
|      |
|      |- $uid
|           |
|           |- balance
|           |- transactions
|                |- $id: %timestamp%
|
|--- certs
|      |- $certcode: %value%
|
|--- transactions
|      |- $id
|           |- amount: %amount%
|           |- receiver: %name%
|           |- sender: $uid
|           |- timestamp: %timestamp%
|           |- type: %type%
|
|--- users
|      |- $uid
|           |- email: %email%
|           |- firstname: %name[0]%
|           |- name: %name%
|           |- photoURL: %url%

CLI

  1. git clone https://github.com/sshh12/RanchCoin.git
  2. npm install
  3. Create Firebase project
  4. Enable Realtime Database and Google Sign-in
  5. firebase use --add
  6. firebase deploy

Screenshots

balance send

Releases

No releases published

Packages

No packages published