sinamna / ChizCoin

simple blockchain implementation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ChizCoin : a simple blockchain implementation using python

in a very noob way, i used flask to build API and bootstrap to makeup a (so called) frontend and ajax to handle requests in general it was all for training .

Node Demo

ChizNode demo

Client Demo

ChizNode Client

What is ChizCoin?

ChizCoin consists of 2 main parts :

  1. ChizCoin Node: Node's features: - Several Nodes can connect together and resolve chain conflicts between each other - (Simple) Proof of Work algorithm - RSA ecryption in transactions - Beautiful main page :") tss - Dashboard for miners
  2. ChizCoin Client: Client's features: - Public/Private key encryption is used in wallet generation - again , RSA encryption in generation transaction.

sources

Requirements

requirements can be found in requirement.txt file and can be installed using

pip3 install -r requirements.txt

How to run Chiz node/client?

node

go to the blockchain_node folder and run :

python blockchain.py [-p port]

default port for node is 5000 but you can set different port number , for example python blockchain.py -p 5050 runs the node on porn number 5050. you can access Chiz Node by going to localhost:5000 (or port number instead of 5000)

client

go to blockchain_client folder and run

python blockchain_client [-p port]

default port for client is 8080 but you can set different port number. you can access Chiz Client by going to localhost:8080 (or port number instead of 8080)

Here's a thing

This won't be bugless

About

simple blockchain implementation


Languages

Language:Python 60.9%Language:JavaScript 39.1%