hello!...
I have a project where the HandleBars (SSR) framework is used...
Question, it is also using Jquery (nothing could be worse).
Question, I have been able to connect Metamask with window.ethereum but when it comes to connect with web3 I am not getting it, because I can not import the library in the scripts section of the index.html ... I get the message "require is not defined.." ...
I have tried to solve this problem with the requirejs library, but it breaks the Jquery part.

Any solution to use web3 in the scripts section without importing it with require?

Any alternative solution?

thanks

Apr 9, 2022, 9:28 AM

© 2024 Draquery.com All rights reserved.