https://github.com/masterbrian99/bcn-rs
blockchain and mining implementation in rust
https://github.com/masterbrian99/bcn-rs
Last synced: over 1 year ago
JSON representation
blockchain and mining implementation in rust
- Host: GitHub
- URL: https://github.com/masterbrian99/bcn-rs
- Owner: MasterBrian99
- License: mit
- Created: 2024-11-19T20:58:22.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-11-19T21:02:23.000Z (over 1 year ago)
- Last Synced: 2025-03-08T23:48:43.011Z (over 1 year ago)
- Language: Rust
- Homepage:
- Size: 1.4 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Simple blockchain and mining in Rust
## create block in blockchain
```bash
curl -X POST http://localhost:8080 \
-H "Content-Type: application/json" \
-d '{"bpm":21}'
```
## get blockchain
```bash
curl localhost:8080 | jq
# or
curl localhost:8080
```
## showcase
https://github.com/user-attachments/assets/f5185f16-22fa-48f6-984b-1a0336caf035
### original implementation
[Code your own blockchain mining algorithm in Go!](https://mycoralhealth.medium.com/code-your-own-blockchain-mining-algorithm-in-go-82c6a71aba1f)