mhw0 / libethc

Open-source Ethereum C library
https://mhw0.github.io/libethc/
MIT License
46 stars 8 forks source link

Feat rpc #28

Closed DerXanRam closed 9 months ago

DerXanRam commented 10 months ago

I know the code have some luck of efficiency and format that u give me to follow. But i failed to deliver and i'm sorry. at-list , until i fully make it, it gives some idea for some one who want to interact with blockchain and known DEXs using c++ or c.

mhw0 commented 10 months ago

Hello. That doesn't look that bad. I love how you called methods like eth_call, eth_getBalance, eth_sendRawTransaction.

I'm thinking about this:

diagram

thus, it would give us clean structure.

mhw0 commented 10 months ago

I think we need to create the http/rpc layer first. And then other layers can be built on top of it.

mhw0 commented 10 months ago

and, what happened to the first PR? Should I close it?

DerXanRam commented 10 months ago

I try to add this PR ont that and i can't so i do this :smile: sorry for my mess. u can close that because this PR have also the previous PR's feature.

mhw0 commented 10 months ago

Please use this PR for future updates.