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

psbtsigner should return a json #222

Closed
danielabrozzoni opened this issue Jun 3, 2021 · 7 comments
Closed

psbtsigner should return a json #222

danielabrozzoni opened this issue Jun 3, 2021 · 7 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@danielabrozzoni
Copy link
Collaborator

Either we make it default or at least we add an option to return a json object, this way it's easier to use in scripts :)

@darosior
Copy link
Member

darosior commented Jun 15, 2021

Yes.

On a more general note i'm a bit worried with augmenting and patching psbtsigner. It was initially, and still is in some way, a hack that i used locally for my manual testing and just ended up committing there for reviewers to use too. If we need something we should probably opt for something more generalistic. Especially in scripts, one could extend the Python support in the test framework and separate it in a script.

@darosior
Copy link
Member

For the manual testing part, maybe contributing signing support to https://github.com/stevenroose/hal would be preferable?

@darosior darosior added enhancement New feature or request good first issue Good for newcomers labels Jun 15, 2021
@darosior
Copy link
Member

So Sanket implemented that in Hal! stevenroose/hal#25 🎉

@danielabrozzoni
Copy link
Collaborator Author

Should we remove the psbtsigner altogether?

@darosior
Copy link
Member

Yeah, it was meant as a temporary hack. I haven't used it in months, and looks like Hal can do basically the same (and if it doesn't we can just contribute a small tweak there). I'm for removing it.

@edouardparis do you have any use for psbtsigner or we can remove it?

@edouardparis
Copy link
Member

No use for me 👍

@darosior
Copy link
Member

Closing in favour of #358

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants