You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Even though we have path entry in database for cosigners it is not automatically used to figure out XPUB.index, but will be convenient to expose xpub.index to the users and simplify API usage.
Related bcoin-org/bcoin#689 - This tries to solve XPUB issue for bcoin xpub Only wallets.
The text was updated successfully, but these errors were encountered:
This would greatly increase user experience, and we can use the xpub prefix bytes to make a good guess at the first few parts of the path. Right now to save some user experience, I pull the account index from each xpub returned from the api and then ledger.getPublicKey.xpubkey(network) until a match is found, then I know which account index to use when signing. This makes it so that the user doesn't need to enter their account index or path when signing, but there are cases when this will not work, like using a ypub/zpub, because bcoin doesn't support those yet, so its still possible to specify a path
Even though we have
path
entry in database for cosigners it is not automatically used to figure out XPUB.index, but will be convenient to exposexpub.index
to the users and simplify API usage.Related bcoin-org/bcoin#689 - This tries to solve XPUB issue for bcoin xpub Only wallets.
The text was updated successfully, but these errors were encountered: