So this is less of a question about how to use web3 for C++ but rather where to start learning how to use and install Libraries for C++!
Related: How to interact with contracts in C++ application?
In the above related post the user was Questioning how exactly he could interact with contracts with C++...
Answer: Regardless of the language, you can always resort to the JSONRPC to interact with the network.
So now I know that I need some sort of JSONRPC/CPP Library (also found under related post -> lib-jsonrpc-cpp)
Great, now I know I can use one of these endpoints:
- Ethereum https://mainnet.infura.io/v3/
- Binance https://bsc-dataseed.binance.org/
Now my questions:
- How do I install the library? Is it like npm-js where I go to the Parent Directory and brew install libjson-rpc-cpp?
- Any Good tutorials out there for JSONRPC and C++ besides building my own servers?
Thank you, Im new to C++ though it is very similar to most other languages I use (web development) but i'm trying to expand my knowledge to become more well rounded.
I hope others find this useful as well!