- [ ] add http api functions to control the node, e.g. start/stop miner - [ ] protect the api using `authorization` header to match a key from config or environment