Closed bmeeder22 closed 1 year ago
@harryEth Any updates on this?
@bmeeder22 This isn't a bug report, but it is a valid feature request. I'll be putting this under the attention of our Product team so we can add it to our roadmap.
This feature is now supported.
✅ Prerequisites
@magic-sdk/admin
)?🐛 Description
When attempting to verify a user is who they say that they are, we need to be able to verify that they're public keys are the same. If a token is generated for example with the
SolanaExtension
enabled we should be able to get the public address of the user for thesolana
blockchain. Right now the only available option is ETH. This applies todecode
as well asgetMetadataByPublicAddress
.🧩 Steps to Reproduce
magic.token.getPublicAddress(DidToken)
🤔 Expected behavior
getPublicAddress
should return the users associated Solana Wallet Public Key😮 Actual behavior
Returns the users ETH public key
💻 Code Sample
🌎 Environment
@magic-sdk/admin
1.3.4
16.7
any