You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: main.go
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ var Version = "dev"
20
20
// Options contains the flag options
21
21
typeOptionsstruct {
22
22
Methodsmap[string]int64`short:"m" long:"method" description:"A map from json rpc methods to their weight" default:"eth_getCode:100" default:"eth_getLogs:250" default:"eth_getTransactionByHash:250" default:"eth_blockNumber:350" default:"eth_getTransactionCount:400" default:"eth_getBlockByNumber:400" default:"eth_getBalance:550" default:"eth_getTransactionReceipt:600" default:"eth_call:2000"`
23
-
Web3Endpointstring`long:"rpc" description:"Ethereum JSONRPC provider, such as Infura or Cloudflare" default:"https://mainnet.infura.io/v3/af500e495f2d4e7cbcae36d0bfa66bcb"`// Versus API key on Infura
23
+
Web3Endpointstring`long:"rpc" description:"Ethereum JSONRPC provider, such as Infura or Cloudflare" default:"https://eth.drpc.org"`// Versus API key on Infura
24
24
RateLimitfloat64`short:"r" long:"ratelimit" description:"rate limit for generating jsonrpc calls"`
25
25
26
26
Versionbool`long:"version" description:"Print version and exit."`
0 commit comments