Open Alenius opened 5 years ago
Hey,
you must generate your own path on on infura. Create an account on https://infura.io/ and you will get your path/key via email.
Please note that there are flaws in the main repo. If you want to call smart contracts or send ERC20 Token check the PRs or the repo from https://github.com/TbLtzk/web3-arduino
Yes, I have already done that. I just substituted my address above.
I am also getting same error. Did you solve the problem??
Sorry I do not remember exactly but I think I solved this some other way and did not get this to work.
Did you come up with another solution on how to call functions of smart contract through arduino ??
For solve this problem, You need to put this code, on PlatformIO
Web3 web3((string)INFURA_HOST, (string)INFURA_PATH);
Sorry I do not remember exactly but I think I solved this some other way and did not get this to work.
Did you successfully connect to infura using nodeMCU esp32?
@Yago-Caetano: It doesn't work either. Web3 web3((string)INFURA_HOST, (string)INFURA_PATH); OR Web3 web3(new string(INFURA_HOST), new string(INFURA_PATH));
Since the library is not maintained a long ago, and there are broken links to the related libraries, I tried to figure out the issues however I am still getting the instantiation issue with the Web3 class in the main.cpp
Please share if anyone managed to deploy it on ESP32
Hello, did you figure out how to make it work?
@uskhalil
Hello.
I am interested in getting this library up and running for my nodemcu. I however fall short pretty much immediately. When I use the example code I get an error code at:
and my defines are:
Where of course the path is really my infura path.
The error is:
It feels weird since I've copy pasted the example code from the repo.