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

rename bip32 to HDWallet and bip39 to Mnemonic #258

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Zhell1
Copy link

@Zhell1 Zhell1 commented Apr 14, 2023

related issue: #253

functions should be easy to understand and access from their functional name, which is more important than arbitrary naming schemes

using bips as the naming scheme is confusing to newcomers (see related issue) and fails at the target purpose of: It should not be necessary to read the source code of a class or function to know how to use it / so that other developers find the code easy to understand.

developers, especially newcomers, should not have to learn by heart which BIP number corresponds to a well-known feature of any bitcoin library, the feature should be described by its name for clarity and ease of use

before:

bsv.Bip32
bsv.Bip39

after:

bsv.HDWallet
bsv.Mnemonic

@Zhell1 Zhell1 force-pushed the fix-bips-naming branch 4 times, most recently from 7da2ff2 to 20f8c77 Compare April 14, 2023 17:16
functions should be easy to understand and access from their name, which is more important than arbitrary naming schemes
@Zhell1 Zhell1 changed the title rename bip32 into HDWallet and bip39 into Mnemonic rename bip32 to HDWallet and bip39 to Mnemonic Apr 14, 2023
@mathiasrw
Copy link
Contributor

This makes so much sense. Please merge.

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

Successfully merging this pull request may close these issues.

2 participants