# h10
Experimental PoW-based public blockchain built on top of HTTP/1.0 (RFC-1945) protocol (WIP)
## Getting Started
### Installation
```
cargo install h10
```
### Installed mode
```
./h10-node --ip-address=127.0.0.1 --port=9000
```
or
```
./h10-node --help
```
### Usage
```
h10 (v0.5.0): Experimental PoW-based public blockchain built on top of HTTP/1.0 (RFC-1945) protocol - https://github.com/ancos2505/h10
Usage: h10-node [OPTION]
Options:
--help Display this message
--verbose Show raw contents from both Request and Response
--http1.0 Enable strict HTTP/1.0 strict mode (RFC1945)
WARNING: The nowday's browsers doesn't use it anymore
--ip-address=<IP ADDRESS> IPv4 or IPv6 to listening
--port=<PORT NUMBER> Port to listen [1024-65535] (RFC7605#section-4)
```
### Dev mode
#### Terminal 1
```
cargo run
```
#### Terminal 2
```
curl -v localhost:8080
```
or open in your browser: http://localhost:8080/

## Roadmap
- [ ] Implement Webui for node management
- [ ] Implement the complete spec [RFC1945](https://www.rfc-editor.org/rfc/rfc1945.html)