-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add http api to mirror cli commands #186
Comments
Decided to run it over HTTP on localhost at first for ease of development. CORS is disabled (better), or set specifically in the config file for one site. Future use of unix sockets or encryption. |
So for starters this is a spitball enumeration of the CLI commands:
Please add others as we keep discussing. |
The API ideas from our discussion are can be found in this document: https://github.com/tendermint/basecoin/blob/feature/186-http-api/docs/rest/API_draft.md |
Awesome, thank you @mappum let me take a look! |
This is going to be awesome! |
Existing code to be reused and spiffed up: https://github.com/tendermint/go-crypto/tree/master/keys/server I would propose making a new directory in basecoin for this code, under |
Iteration 1 delivered with https://github.com/tendermint/basecoin/pull/190. Next steps will be to do some housekeeping, cleanups, restructuring the code. I had a video call with @ethanfrey on Saturday 29th July 2017 at around 8PM EST and he gave some suggestions that are also in an offline email. Watch this space |
Follow up issue https://github.com/tendermint/basecoin/issues/200. |
This is on-going, but the basic needs for basecoin have been implemented. We will see further development in other issues. |
Print rellevant log when parsing the config
feat: introduce PreBlock
This will be much easier to work with for web developers. Just standard POST and GET to manage keys, sign transactions and query database state with the full security of the light client, attempting to make a REST API.
Discussing desired API with js devs to find something usable.
The text was updated successfully, but these errors were encountered: