kopanitsa / web3-arduino

an Arduino (or ESP32) library to use web3 on Ethereum platform.
MIT License
105 stars 45 forks source link

caCert error #23

Open ghost opened 3 years ago

ghost commented 3 years ago

Hi, Trying to make a simple call using example code:

Web3.cpp:19:36: error: no matching function for call to 'BearSSL::WiFiClientSecure::setCACert(const char*&)' client.setCACert(infura_ca_cert);

itsHaseebSaeed commented 3 years ago

Hi, there I'm having some issues running this library on my ESP32. Does it worked on your esp. If yes then I need your help

JamesSmartCell commented 1 year ago

Hi, you may be interested in using Web3E. It's based on this repo but re-coded for efficiency and in daily use by at least myself:

https://registry.platformio.org/libraries/alphawallet/web3e https://github.com/AlphaWallet/Web3E

It has been extensively re-written where required for efficiency and use.

Use:

lib_deps = Web3E

I also added an authenticated token comms solution which you are welcome to use the default server or run your own, it's fully open source. Details are in the examples