PumpkinSeed / ethock

Lightweight Ethereum JSON RPC Mock written in Rust
Apache License 2.0
8 stars 0 forks source link

Make binary more helpful #2

Open PumpkinSeed opened 3 years ago

PumpkinSeed commented 3 years ago

Currently it's really dump how the binary starts the mock. Let's extend it with more functionalities.

GentileFulvio commented 3 years ago

What functionality do you have in mind if I may ask ?

PumpkinSeed commented 3 years ago

@GentileFulvio it would be nice to have a proper flag parsing mechanisom with a config module. At the moment the first argument passed as the address, but in the future I will add the log-level, proxy address, etc. So that would be nice to have something like ethock --addr 127.0.0.1:8545 --log-level debug.

Thanks, and let me know if you have any question.