GithubHelp home page GithubHelp logo

vic4key / voidcoin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from chidimo/voidcoin

0.0 1.0 0.0 126 KB

A blockchain implementation in python and django

Home Page: http://voidcoin.pythonanywhere.com/

Python 62.91% HTML 34.39% CSS 2.70%

voidcoin's Introduction

VoidCoin

A blockchain implementation in python and django as the backend. It builds largely on the sources linked in the resources section. Theme is by Bootswatch

See it in action http://voidcoin.pythonanywhere.com/

Features

  1. Multiple wallets per user and saving in a Django database (not recommended in a production system)
  2. Signed transactions using private key
  3. Node registration
  4. User registration (optional). To keep things simple, registration only requires a user to provide an email (not necessarily valid, but format is important) and a unique screen name (for identification)
  5. Cannot transfer more coin than you have in your wallet
  6. Anybody can mine a block, but there must be at least 3 pending transactions before block can be mined.

Views

Home

This view shows a list of all blocks on the blockchain. A list of all signed and verified transactions that have not been added to a block are also shown

Wallet Index

This view shows a list of all wallets in the system. The wallets are stored in a Django database with the following fields

alias Identifier to help a registered user differentiate between their various wallets. Must be unique for user

owner The registered user who creates the wallet. Field is auto-filled for logged in user

public_key The wallet address or public key

private_key The wallet private key. Only the user who owns this wallet can see this key, in their dashboard

balance The amount of coin balance in the wallet

Transactions Index

List of every single transaction in the blockchain

Nodes index

List of all registered nodes

Account view

View user's account and all the wallets they own

Resources

  1. Learn Blockchains by Building One
  2. A Practical Introduction to Blockchain with Python
  3. Blockchain demo

To do

  1. Subtract coin from sender. Add coin to receiver
  2. Limit total coin to amount in COINBASE

voidcoin's People

Contributors

chidimo avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.