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

client: Bitcoin wallet Client #37

Closed
buck54321 opened this issue Sep 28, 2019 · 2 comments
Closed

client: Bitcoin wallet Client #37

buck54321 opened this issue Sep 28, 2019 · 2 comments
Assignees

Comments

@buck54321
Copy link
Member

The DEX wallet will need a client to interact with a bitcoin wallet. This will likely be a wrapper around the necessary methods of rpcclient pointing to a btcwallet.

  • Sync UTXO set (ListUnspent)
  • Signing UTXO data (SignMessage)
  • Signing transaction inputs (SignRawTransaction)
  • Broadcasting transactions (SendRawTransaction)
  • Building the swap and redemption transactions

Ideally, the wallet will translate between some common type used by the higher-level DEX wallet infrastructure, and the btcd/rpcclient types. Those common types, and an interface for common wallet client functionality can be specified during this work (and with #36).

This component should be viewed as a plugin component of what could be a simple CLI program or a larger multi-wallet. It is not a stand-alone swap negotiator, so shouldn't be concerned with the negotiation details.

If possible, the wallet should be designed such that it can be reused for bitcoin clones. See ReadCloneParams for more info.

@chappjc chappjc changed the title Wallet: Bitcoin Client client: Bitcoin wallet Client Sep 30, 2019
@chappjc chappjc added this to the Core Client Components milestone Sep 30, 2019
@buck54321
Copy link
Member Author

I'll take this.

@buck54321
Copy link
Member Author

Closed by #72

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

2 participants