https://github.com/andrewn6/blockchain-springboot
Run a local blockchain node on your local machine and run different agents on the network, With 3 different replacement functions.
https://github.com/andrewn6/blockchain-springboot
agents blockchain java mine spring-boot
Last synced: 4 months ago
JSON representation
Run a local blockchain node on your local machine and run different agents on the network, With 3 different replacement functions.
- Host: GitHub
- URL: https://github.com/andrewn6/blockchain-springboot
- Owner: andrewn6
- Created: 2021-04-03T00:31:19.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-04-25T01:52:26.000Z (about 4 years ago)
- Last Synced: 2025-02-21T09:13:31.482Z (4 months ago)
- Topics: agents, blockchain, java, mine, spring-boot
- Language: Java
- Homepage:
- Size: 74.2 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# blockchain-springboot
## Concept
This consists of two crucial parts the agent and interface.## Agent
An agent stands for one peer store and mine blocks in the network.
Every agent is connected to all the other agents in the network to construct a P2P
distributed network. The basic functions for an agent are
- Send message to other agents.
- Receive messages from other agents
- Mine/validate and grow blocks on the own blockchain
- It syncs the latest blockchain with other agents.## Start
Navigate to the root of the project directory then:
```
$ gradle bootRun
```This should start up a web interface. open http://localhost:8080 to view the dashboard.
The basic actions are:
- Add an agent
- Delete an agent
- Mine a new block and broadcast to the network.
-
*A project by Andrew Nijmeh, Mkz32 and PineappleRind.*