Git Product home page Git Product logo

lecs's Introduction

lecs

(The) Legendaries™ (smart) Contracts System. Pet project around blockchain and smart contracts implemented in Python.

Why?

Blockchain created a lot of fuss around, but mostly from the marketing perspective.

This project is intended to be a case study of a blockchain and smart contracts in-depth.

Why should I join this project?

This project contains number of fundamental computer science problems and alorithms to be implemented.

It will give you understanding of the internals behind the blockchain and naturally, as a contributor, necessary skills and knowledge of used algorithms and distributed systems.

And when the the next recruiter will ask you about exciting projects you participated just show your commits here.

Links

How to become a contributor

  • Fork this project
  • Check the issues section OR suggest your improvements and create an issue
  • Send a PR

Requirements

  • python >= 3.5

lecs's People

Contributors

prawn-cake avatar

Stargazers

 avatar José Wenceslao Castillo avatar João Nunes avatar Gonçalo Pestana avatar Fawad Masood Desmukh avatar Mikhael avatar

Watchers

James Cloos avatar Marcel Holter avatar  avatar

Forkers

mikhaelsantos

lecs's Issues

Block design

Block fields

  • Block number
  • Previous hash
  • Transactions / Payload
  • Signature
  • Hash

A block is considered valid if it as proof of work / stake / autority "token"/ confirmation

Distributed ledger architechture

We need to come up with an architecture of the ledger, including:

  • We need simple p2p client
  • We need a synchronization protocol
  • We need a transactions protocol (create new transaction, validate others transactions, add a transaction to a block, add a block to a chain)
  • Every client must sign the transactions it produces, i.e have private/public gpg keypair

Transaction design

Each transaction should contain

  • UID (which should have Proof-of-work)
  • Payload
  • Timestamp (can be a part of payload)

Set of transactions will be combined in a block having Merkle-tree (#1) structure.

Transaction is considered valid if it's signed by the sender

Distributed consensus problem

As a subtask of #2.
Before going forward we need to understand how the users will come to a consensus in the distributed p2p network.
All the research can be collected here

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.