Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/escalopa/blockchain-ui
Java application that creates a block and adds it to a live block-chain server for the sake of practice & learning
https://github.com/escalopa/blockchain-ui
blockchain java swing
Last synced: 20 days ago
JSON representation
Java application that creates a block and adds it to a live block-chain server for the sake of practice & learning
- Host: GitHub
- URL: https://github.com/escalopa/blockchain-ui
- Owner: escalopa
- Created: 2022-01-02T13:34:13.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-01-02T14:10:31.000Z (about 3 years ago)
- Last Synced: 2024-11-18T14:36:17.729Z (3 months ago)
- Topics: blockchain, java, swing
- Language: Java
- Homepage:
- Size: 29.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Blockchain-UI
Java application that creates a block and add it to a live block-chain server for the sake of practice & learning## Application technology
- Swing
- Spring## Security
Securing the block is made by pubKey & priKey mixed with all block data and then hashing them using hashing-algorithms like (SHA-512). after that our block is now ready to be sent to the server## Block data
In this application the data is just the username and a message that he wasnt to say
```
public class BlockData {
public String username
public String message;
}
```
## Block
The block contains the following elements
```
public class BlockModel {
private String prevhash;
private DataModel data;
private String signature;
private String ts;
private String publickey;
}
```
after creation it is sent to the server for validations, once it passed it, it gets added to the chain#### Note
- In this application only the client side was made.
- You can view the whole blocks in server in the json form on [SERVER](http://188.93.211.195/dis/chain)