You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using this library in frontend to interact with smart contract from ethereum network. I need to sign a transaction when calling smart contract methods. But I can't find any method can do the work from this library. I found the web3 has a method: https://web3js.readthedocs.io/en/v1.2.11/web3-eth.html#signtransaction, I wonder if I can get web3 instance from any hooks? Or do I have to create a web3 instance separately?
I appreciate any suggestions and tips on how to make it work.
The text was updated successfully, but these errors were encountered:
I am using this library in frontend to interact with smart contract from ethereum network. I need to sign a transaction when calling smart contract methods. But I can't find any method can do the work from this library. I found the web3 has a method: https://web3js.readthedocs.io/en/v1.2.11/web3-eth.html#signtransaction, I wonder if I can get
web3
instance from any hooks? Or do I have to create a web3 instance separately?I appreciate any suggestions and tips on how to make it work.
The text was updated successfully, but these errors were encountered: