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

Support sending valid transactions directly to opencbdc-tx #2

Open
1 task
HalosGhost opened this issue Oct 21, 2022 · 0 comments
Open
1 task

Support sending valid transactions directly to opencbdc-tx #2

HalosGhost opened this issue Oct 21, 2022 · 0 comments

Comments

@HalosGhost
Copy link
Contributor

HalosGhost commented Oct 21, 2022

Right now, this wallet operates as a standalone proof-of-concept, but the backing node-js module is capable of talking to sentinels.

So, practically, the only thing necessary for this standalone proof-of-concept to interact directly with a live-running copy of opencbdc-tx is the ability to send minting transactions (or, alternatively, importing keys/inputs). (Note: this is only necessary because right now this PoC doesn't include any method of getting funds into the UHS or importing funds which are in the UHS into the wallet; once either functionality is available, valid transfer transactions can be generated and sent to a live-running sentinel.)

A simple way of implementing this would be to add a new page meant for administrative operations allowing you to send a mint transaction to -tx for a given secret key. This would replace the fund button in the wallet page. That same page could instead allow importing an input (as exported by the opencbdc-tx client). Once done, a few configurations can be changed to forward transfer transactions to the actual transaction processor rather than a mock process.

  • Note also that any PR addressing this issue should also update the README's opening paragraphs.
@HalosGhost HalosGhost changed the title Support connecting directly to opencbdc-tx Support sending valid transactions directly to opencbdc-tx Oct 31, 2022
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

1 participant