I would like to implement wallet adapter in a vanilla js script using something like unpkg or jsdlivr.
Is it possible to do that? and how?
I would like to implement wallet adapter in a vanilla js script using something like unpkg or jsdlivr.
Is it possible to do that? and how?
Hi @thomas1
The official solana wallet adaptor was in react / vue so if you want to make it work in vanilla js you will have to code it on your own.
Here are the github reports of the solana web3.js and wallet adaptor for your reference.
Understand how to connect with solana wallets based on the wallet docs
https://docs.phantom.app/solana/detecting-the-provider
These should help you to create your own wallet adaptor.