to connect to metamask as a dapp but i am stuck as all ive seen yet is using react hooks but how do i actually create a contract conditionally (useContract does not work as it is a hook) and / or how to get the current provider that thirdweb has connected to in the window as i have multiple wallets meta/safepal etc so i want the provider that thirdweb chose can i use window.ethereum for it?
your question is too verbose and confusing
Обсуждают сегодня