An open API service indexing awesome lists of open source software.

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

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)