Project currenly is WIP
P.S: It's just a learning project, some of decisions which are used in this may be is not enough better or evenly true - but I'll glad to hear your hints :)
A some little list of my tasks which I want to bring to live, step by step
- Base blockchain model
- A possible to simple HTTP interaction
- Proof-Of-Work validation
- Blockchain storing
- Transactions
- Wallets
- Transactions signing and verifying
- UTXO set
- Merkle Tree
- Transcations memory pool
- Nodes network
- p2pkh
cargo build
cargo run
- Go to
localhost:8080
Method | Route | Request | Description |
---|---|---|---|
GET | / | Show blockchain history | |
POST | / | { "address": "wallet_address" } | Create blockchain if it's not exists |
GET | /coins/{address} | Show coins balance of address | |
POST | /coins | { "from": "sender_wallet", "to": "recipient_wallet", "amount": some_positive_number } | Send coins to another wallet address |
GET | /wallet | Show your local wallets | |
POST | /wallet | Generate new local wallet |