How to get public key via Chrome Extension
AnsweredHi.
Is there any documentation on how to interact with Polymesh Wallet Extension from web page?
On my WebPage I need to get wallet ID/Public Key from extension that user has already installed. Smth like web3 global object on metaMask https://docs.metamask.io/guide/ethereum-provider.html#table-of-contents
0
-
Hi Stanislav,
I was just about to reply but see that it was handled via https://github.com/PolymathNetwork/polymesh-wallet/issues/241
Basically you will need to use the extension library. So you have a web3enable which has all the info in there. If you look at the polkadot docs there it follows the same thing since they are the same wallet at their core.
0
Please sign in to leave a comment.
Comments
1 comment