-
Notifications
You must be signed in to change notification settings - Fork 0
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
Batch generate address enhancements #53
Comments
@riongull this functionality has been added but does not have any opaque visual implementation that can be seen by an end user. It should be working at https://fix-dashwallet-implementation.wallet.dashincubator.dev/. |
@jojobyte, was there a typo in what you said here:
By memory I thought the BIP44 spec defined what you're calling change and receive as the last two positions in the hd path. I always forget which order, but it's certainly not the same position for each. Have you read that spec and are we implementing it at least roughly per the spec? Probably better to have a phone call about this, as it's pretty involved. |
I have not read the spec, I've based the order off what is shown in dashhive/DashHD.js here https://github.com/dashhive/DashHD.js?tab=readme-ov-file#part-2a-hd-path-derivation and off the Constants let accountIndex = 0;
let use = DashHd.RECEIVE;
let addressIndex = 0;
let maxTries = 3;
let hdPartial = `m/44'/5'/${accountIndex}'/${use}`; If that is in fact the wrong order we've got a lot bigger of a problem because that is how DashHD.js is implementing it. |
Please look closer at your comment (that I quoted), and the section in this screenshot from AJ's docs (that you linked to). Your comment has both the |
@jojobyte, as discussed yesterday, there is in fact no typo. I was overlooking that Go ahead and close this if everything is done. |
DashHd.RECEIVE
&DashHd.CHANGE
m/44'/5'/0'/${DashHd.CHANGE}/0
) in addition to the current receive addresses (m/44'/5'/0'/${DashHd.RECEIVE}/0
)Batch Interactions
DashHd.RECEIVE
&DashHd.CHANGE
addressIndex
for contactaccountIndex >= 1
or main walletaccountIndex === 0
addressIndex
for main account (accountIndex === 0
) changeaddressIndex
for contactaccountIndex >= 1
or main walletaccountIndex === 0
updateAllBalances
addressIndex
addressIndex
at theaccountIndex
DashHd.RECEIVE
||DashHd.CHANGE
)The text was updated successfully, but these errors were encountered: