Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sidzred/secure-ledger
https://github.com/sidzred/secure-ledger
Last synced: 19 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/sidzred/secure-ledger
- Owner: SidZRed
- License: apache-2.0
- Created: 2024-07-04T16:58:55.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-07-05T05:51:48.000Z (7 months ago)
- Last Synced: 2024-07-06T19:02:16.864Z (7 months ago)
- Language: Python
- Size: 11.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Secure Ledger
This is my implementation of a distributed secure ledger such as a blockchain from scratch.
It involves a blockchain class which has methods to add new transactions and blocks to the ledger. It then allows to create new blocks using an API call.
It also has an endpoint for mining the blockchain to recieve rewards and other endpoints for adding new transactions, registering nodes and a consensus algorithm to help keep track of the ledger.Blockchain technology is a beautiful concept in which the maintainence of a ledger of transactions is decentralised ie. not authorised by a central agency. This enables anyone to keep track of the transactions happening and by the process of [mining](https://www.coinbase.com/learn/crypto-basics/what-is-mining), users maintaining the ledger are rewarded with small benefits. This helps to keep it decentralised and at the same time security is maintained by using hashing on the data to prevent easy access to it.
This was implemented mainly using python and some of the API funcitonalities using Flask.