Skip to content
/ C-Coin Public

Defining the Basic Behaviors of a Blockchain and Web 2.0 Transaction Imitation.

License

Notifications You must be signed in to change notification settings

DSCKGEC/C-Coin

Repository files navigation

C-Coin

Contributors Forks Issues Pull Request

Blockchain

Contents

  1. Description
  2. Project structure
  3. Getting started
  4. Contributing
  5. Authors
  6. License

Description

A blockchain is a growing list of records, called blocks, that are securely linked together using cryptography. Each block contains a cryptographic hash of the previous block, a timestamp, and transaction data. Blockchains are typically managed by a peer-to-peer network for use as a publicly distributed ledger, where nodes collectively adhere to a protocol to communicate and validate new blocks. Although blockchain records are not unalterable as forks are possible, blockchains may be considered secure by design and exemplify a distributed computing system with high Byzantine fault tolerance.

Outline of Project

  • Define the characteristics of underlying blockchain.
  • Use a Flask implementation to imitate transaction, mining and all other cryptocurrency behaviors.
  • Play around with the implementation by creating multiple instances (nodes) using the same blockchain Definition.

Project structure

  ├── Transaction/                            Empty directory to play around and understand transaction of C-coins
  ├── Defining Blockchain and C-coin.py       Code and Definition of Blockchain with which you can trade C-Coins

Getting started

Prerequisites

Software Needed

  1. Postman
  2. Any Web Browser

Knowledge Needed

  • Strong Idea of how a blockchain functions and its behaviors

  • Python OOPs Knowledge

  • Very basic understanding of git and github:

    1. What are repositories (local - remote - upstream), issues, pull requests
    2. How to clone a repository, how to fork a repository, how to set upstreams
    3. Adding, committing, pulling, pushing changes to remote repositories.

Installing

Clone the project

  git clone https://github.com/DSCKGEC/C-Coin.git

Go to the project directory

  cd C-Coin

To run this:

  pip install DateTime
  pip install hashlib
  pip install Flask
  pip install requests
  pip install uuid
  pip install urllib3

Contributing

Please read contributing.md for details on our code of conduct, and the process for submitting pull requests to us.

Authors

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Defining the Basic Behaviors of a Blockchain and Web 2.0 Transaction Imitation.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages