Skip to content
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

Wallet API Structure #1133

Merged
merged 15 commits into from
Jun 6, 2018
Merged

Wallet API Structure #1133

merged 15 commits into from
Jun 6, 2018

Conversation

yeastplume
Copy link
Member

Goal of this one is to try to build out a skeletal framework of the entire wallet API structure a bit, with all of the parts in place to handle both local (command line) functionality as well as a localhost-only rest API.

The API is to be split into internal (owner functions) and external (communication with other people) functions (in fact I'll probably rename then as such,) and a framework in place to allow a caller to instantiate them in whatever means is desired, for instance:

  • A command line client wanting to call owner functions should get a single-use owner version of the wallet API, which will instantiate with given params, call whatever api functions are needed, clean up and return
  • A web API listener implementation should be able to invoke the exact same interface as a listener, with all of the API functions neatly wrapped as json calls.

Still experimental, so I'll fill in more details as I go along and figure out how all of this should be structured.

@yeastplume yeastplume changed the title [WIP] Wallet API Structure Wallet API Structure Jun 6, 2018
@yeastplume yeastplume merged commit 8f66016 into mimblewimble:master Jun 6, 2018
@yeastplume yeastplume deleted the wallet_apis branch June 6, 2018 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant