Clean code & Add dynamic variables for user-supplied entropy and 24-word mnemonics
Closed this issue · 9 comments
The current version of this simple Python program lets a user create a cryptographically secure 12-word mnemonic under BIP39. The issue posted here requires that the existing code is cleaned up (condensed, or otherwise improved for speed/performance) while adding the two options below:
-
User chooses at the start of the app whether to supply their own entropy or for the tool to randomly create entropy.
-
User selects whether to use a 12-word (as it current defaults to) or a 24-word mnemonic (note: when users choose for the tool to randomly create the entropy, the option for word length will still be shown, and in all cases, the tool will also compute the check, and only allow 128 bits (not 132) for the user to add, as the tool should calculate those last 4 bits, or for 24 word mnemonics 256 bits (not 264) as the last 8 bit checksum would be calculated as part of validating the mnemonic.
Issue Status: 1. Open 2. Started 3. Submitted 4. Done
This issue now has a funding of 0.001 ETH (0.21 USD @ $211.34/ETH) attached to it as part of the BCA Ventures Inc. fund.
- If you would like to work on this issue you can 'start work' on the Gitcoin Issue Details page.
- Want to chip in? Add your own contribution here.
- Questions? Checkout Gitcoin Help or the Gitcoin Slack
- $59,805.72 more funded OSS Work available on the Gitcoin Issue Explorer
Issue Status: 1. Open 2. Started 3. Submitted 4. Done
This issue now has a funding of 0.001 ETH (0.21 USD @ $211.34/ETH) attached to it as part of the BCA Ventures Inc. fund.
- If you would like to work on this issue you can 'start work' on the Gitcoin Issue Details page.
- Want to chip in? Add your own contribution here.
- Questions? Checkout Gitcoin Help or the Gitcoin Slack
- $59,805.72 more funded OSS Work available on the Gitcoin Issue Explorer
Issue Status: 1. Open 2. Started 3. Submitted 4. Done
The funding of this issue was increased to 0.501 ETH (105.88 USD @ $211.34/ETH) .
- If you want to claim the bounty you can do so here
- Want to chip in? Add your own contribution here.
- Questions? Checkout Gitcoin Help or the Gitcoin Slack
- $59,911.39 more funded OSS Work available on the Gitcoin Issue Explorer
Issue Status: 1. Open 2. Started 3. Submitted 4. Done
Work has been started.
These users each claimed they can complete the work by 3 months, 2 weeks ago.
Please review their action plans below:
1) destiner has been approved to start work.
Worked on a similar program — wallet generation via user provided or generated entropy ('blocksmith' in my public repo list), would like to tackle this one.
Learn more on the Gitcoin Issue Details page.
About to test some of the changes*
All tests ran successfully, the tool now can generate 24 word mnemonics and accepts user-supplied entropy in the form of a 0x-padded hex string.
@Destiner please submit this work as "submitted" on Gitcoin, and I will pay the bounty (if that is not possible for you I can skip this requirement and use the advanced function to pay it out bypassing that step, please let me know, thanks!).
Issue Status: 1. Open 2. Started 3. Submitted 4. Done
Work for 0.501 ETH (108.14 USD @ $215.86/ETH) has been submitted by:
@hatgit please take a look at the submitted work:
- Learn more on the Gitcoin Issue Details page
- Want to chip in? Add your own contribution here.
- Questions? Checkout Gitcoin Help or the Gitcoin Slack
- $57,729.51 more funded OSS Work available on the Gitcoin Issue Explorer
Issue Status: 1. Open 2. Started 3. Submitted 4. Done
The funding of 0.501 ETH (108.52 USD @ $216.6/ETH) attached to this issue has been approved & issued to @Destiner.
- Learn more on the Gitcoin Issue Details page
- Questions? Checkout Gitcoin Help or the Gitcoin Slack
- $57,704.83 more funded OSS Work available on the Gitcoin Issue Explorer