unisat-wallet / extension

The first open-source browser extension wallet for Bitcoin NFTs
Other
875 stars 336 forks source link

`getPublicKey` returns internal key or output key when using Taproot address type? #216

Open macaujack opened 3 months ago

macaujack commented 3 months ago

According to the doc here, window.unisat.getPublicKey returns a compressed public key in hex form (66 hex digits in total). My address type is Taproot (P2TR). I'm wondering if this public key is internal key or output key?