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

Create multiple implementations of the wallet interface #29

Open
sKudryashov opened this issue Feb 8, 2018 · 3 comments
Open

Create multiple implementations of the wallet interface #29

sKudryashov opened this issue Feb 8, 2018 · 3 comments
Assignees

Comments

@sKudryashov
Copy link
Contributor

Preface: The "wallet API" is a multi-token API. It has one interface that exports a few functions. Then there are multiple implementations of the interface for individual coins:

  • generate an address (from seed)
  • check balance (get unspent outputs for an address)
  • get all pending transactions concerning an address or list of addresses (deposits, later deposits and withdrawals)
  • check status of transaction by transaction id
    and wallet API, exposes an HTTP, JSON interface, that can be used by other applications

Issue:
For bitcoin create multiple implementations of the interface
so we have a list of

  • coins, implementations
    and can instantiate an instance of the interface/implementation for a specific coin
    then access the instantiated interfaces through an http json api or via CLI

One implementation for bitcoin uses the "scanning wallet" (but has to connect to a bctd node)
one uses blockchain.info api, etc

The command line tool can call the json http request directly, on the running server

The "wallet api" only needs to support bitcoin and skycoin for now (two coins) and one or two implementation for bitcoin (scanning wallet and querying blockchain.info)

@nutmix
Copy link
Contributor

nutmix commented Feb 9, 2018

@sKudryashov Hi, the sigma team would like to take this task. How do we contact you to clarify the requirements?

@sKudryashov
Copy link
Contributor Author

Hi, @nutmix, I have already started working on it. Not sure how to mark it as "in progress" in this issue tracker though.

@gz-c
Copy link
Member

gz-c commented Feb 10, 2018

I assigned it to @sKudryashov

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

No branches or pull requests

3 participants