I have a web3 object but I'm working off an example that uses ethersProvider.getSigner(). Is there an equivalent (or mostly equivalent) in the web3 library?

For reference, the ethersProvider is instantiated with const ethersProvider = new ethers.providers.Web3Provider(window.web3.currentProvider);

and the signer is ethersProvider.getSigner()

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.