Bitcoin API retuning same address for Ordinal and Payment types. #173
Unanswered
lbowles
asked this question in
Help & Support
Replies: 2 comments 3 replies
-
|
Hey @lbowles, Thank you for writing in! I'm investigating and will follow up once I have more info. |
Beta Was this translation helpful? Give feedback.
3 replies
-
|
For anyone stumbled upon this, in phantom wallet browser extension click the account icon at top left to toggle the side menu > click settings icon > Preferences > Preferred Bitcoin Addresses > Enable "Taproot" |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
This is for the Bitcoin wallet integration.
When using
await window.phantom.bitcoin.requestAccounts();it returns 2 accounts:1
2
The 2 accounts have the same type and public key when they should be different, I expect the "ordinals" type to be a taproot address and not segwit. Is there any way to get the correct address information for both types?
Example
No response
Steps to Reproduce
const accounts = await window.phantom.bitcoin.requestAccounts(); console.log("Phantom connected addresses:", accounts);See more in the request accounts section in the docs
I have tested this with different wallets on Chrome and Firefox
Phantom Version
24.0.1
Is there an existing discussion for this?
Beta Was this translation helpful? Give feedback.
All reactions