An RPC proxy server for CodeChain
--bind
: A binding address of a proxy. The default value is"0.0.0.0"
.--port
: A binding port of a proxy.--forward
: A port to forward. The default value is8080
.--whitelist
: A path to a whitelist file. The default value is"whitelist.txt"
.--log
: A path to a log file. The default value is"proxy.log"
.--debug
: Enable debug mode.
Each line of a whitelist file contains one method name which you want to accept.
For example, if you want to accept version
and ping
, put the method names in each line like:
version
ping