-
Notifications
You must be signed in to change notification settings - Fork 174
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
Add genwallet.py script #688
Conversation
Nice, thanks. I guess it makes sense to add an option for wallet type; in particular considering #656 and some other use cases for bech32 already (e.g. payjoin). |
In 2f53c5f I added (admittedly fairly trivial) tests to check that when a wallet file is created with |
This duplicates functionality of |
Very fair point yeah. This same code could be trivially repurposed as just another method in Personally I'm quite focused on moving in the direction in #670 (an RPC API), so I'm a bit less interested in exactly how to add more functionality into the scripts. |
I feel like it's fine to just add this script as-is, even if there's an argument for folding it into the wallet-tool script (it could always be done later). Ordinary users won't need this anyway. Agreed @kristapsk ? |
@AdamISZ Agree |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK 2f53c5f
This PR adds my version of @AdamISZ's
genwallet.py
from #683.I'm not very familiar with the intricacies of JoinMarket's testing infrastructure, so maybe somebody else could add a simple test for this script.
Closes #683