add defaults

This commit is contained in:
Bryan Stitt 2022-03-04 20:45:50 -08:00
parent 3ad1424403
commit a3098d52c1

View File

@ -5,11 +5,11 @@ use warp::Filter;
/// Proxy Web3 Requests
struct Web3ProxyConfig {
/// the primary Ethereum RPC server
#[argh(option)]
#[argh(option, default = "http://localhost:8545")]
eth_primary_rpc: String,
/// the private Ethereum RPC server
#[argh(option)]
#[argh(option, default = "https://api.edennetwork.io/v1/beta")]
eth_private_rpc: String,
/// the port to listen on