From a3098d52c1a7ff7992906193889de0df7fba84fa Mon Sep 17 00:00:00 2001 From: Bryan Stitt Date: Fri, 4 Mar 2022 20:45:50 -0800 Subject: [PATCH] add defaults --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 4de8f3a8..6537e197 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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