The objective of be a minimalist and efficient blockchain application built using Node.js. This application features a REST API for interaction and management, along with supporting peer-to-peer (P2P) connections with an integrated consensus protocol.
The aim of this project is to provide a solid and extensible foundation for those looking to explore the fundamental concepts of blockchain technology, without the added complexity of mining algorithms. It is ideal for educational environments, prototype development, or as a starting point for customized enterprise solutions.
This Simple Blockchain Core can be utilized in a variety of scenarios, including but not limited to:
- Educational Systems
- Product Prototyping
- Record Keeping and Auditing Application
- Smart Contracts and DApps Development
- Voting Systems
$ yarn or npm install
$ npm run dev
$ HTTP_PORT=8081 P2P_PORT=5002 PEERS=ws://localhost:5001 npm run dev
$ curl --request POST \
--url http://localhost:8080/mine \
--header 'Content-Type: application/json' \
--data '{
"data": "my data"
}'
$ curl --request GET \
--url http://localhost:8080/blocks
$ npm run tests
This project is continually evolving, and contributions are always welcome. We hope this Simple Blockchain Core serves as a valuable learning and development resource for the community.
- Harrisson Biaggio [hawkz]