Blockchains are immutable, sequential chain of records called Blocks. They can contain transactions, files or any data you like, really. But the important thing is that they’re chained together using hashes.
Architecture is based on Bancolombia Scaffold but some liberties were taken
- Getting Started
- Runing the tests
- Deployment
- Built With
- Contributing
- Versioning
- Authors
- License
- Acknowledgments
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
What things you need to install the software and how to install them
- Java 11
- IntelliJ is highly recommended
A step by step series of examples that tell you how to get a development env running
- Clone repo
- Open with IntelliJ
- Run the project
- Import the Postman Collection
- Run '1 Mine'
And you will get
{
"data": {
"content": {
"message": "New Block Forged",
"index": 2,
"transactions": [
{
"sender": "NodeMinerAddress",
"recipient": "60bf9a29e94e46fe9364c01d2ce535f7",
"amount": 1
}
],
"proof": 45972,
"previousHsh": "84e2906ec60603ef54719c27b0c15769f6c6931007474eae8b0e4ff81cf0c33e"
}
}
}
Use gradle to run tests
~~Will be added later~~
You can use Heroku to deploy this project, remember to create the required variables in Procfile
- Contributor Covenant - Used for the Code of Conduct
- Creative Commons - Used to choose the license
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
We use SemVer for versioning. For the versions available, see the tags on this repository.
- Cristian Marín - cristianmarint
- Daniel van Flymen - Python approach codebase - Article
See also the list of contributors who participated in this project.
This project is licensed under the CC0 1.0 Universal Creative Commons License - see the LICENSE.md file for details
- It's not perfect but the repo is open for improvement