web3modal icon indicating copy to clipboard operation
web3modal copied to clipboard

Can I connect wallets with vanilla javascript?

Open ene519 opened this issue 2 years ago • 1 comments

I would like to implement many connectors in a vanilla javascript website. I found https://github.com/Web3Modal/web3modal-vanilla-js-example but the look & feel is not very customizable (and I would need to change it completely). Therefore, I am trying to implement MetaMask, WalletConnect, Binance Chain Wallet etc from scratch but all the examples I found were for React or Node.js. Can I implement these with vanilla javascript? connectwallet

ene519 avatar Jul 18 '22 00:07 ene519

if the problem still remains, there is two option that you got. the first one is to use provided api to change the colors but it's limited and does not provide much control over how modal should be shown. the second option that i used was by editing the web3modal source code and then export. the overall process is simple and straightforward.

hadi73ebrahimi avatar Jul 31 '22 21:07 hadi73ebrahimi

if the problem still remains, there is two option that you got. the first one is to use provided api to change the colors but it's limited and does not provide much control over how modal should be shown. the second option that i used was by editing the web3modal source code and then export. the overall process is simple and straightforward.

thanks for helping out @hadi73ebrahimi

hackyguru avatar Sep 16 '22 17:09 hackyguru