Wait for user to connect wallet successfully. #4367
Answered
by
glitch-txs
DinhKhai0201
asked this question in
Developer Support
-
Hi, Currently, I'm using Web3modal. Example about Web3modal v1? const web3Modal = new Web3Modal({
providerOptions // required
});
const provider = await web3Modal.connect();
const web3 = new Web3(provider);
const [address] = await web3.eth.getAccounts();
const signature = await web3.eth.personal.sign("Message", address, ''); |
Beta Was this translation helpful? Give feedback.
Answered by
glitch-txs
Apr 2, 2024
Replies: 1 comment
-
Web3Modal v1 doesn't work any more, it was deprecated. Check: https://docs.walletconnect.com/web3modal/about |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
glitch-txs
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Web3Modal v1 doesn't work any more, it was deprecated. Check: https://docs.walletconnect.com/web3modal/about