Skip to content

Commit 8808fee

Browse files
committed
replace default data url with drpc
1 parent de199c4 commit 8808fee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ var Version = "dev"
2020
// Options contains the flag options
2121
type Options struct {
2222
Methods map[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-
Web3Endpoint string `long:"rpc" description:"Ethereum JSONRPC provider, such as Infura or Cloudflare" default:"https://mainnet.infura.io/v3/af500e495f2d4e7cbcae36d0bfa66bcb"` // Versus API key on Infura
23+
Web3Endpoint string `long:"rpc" description:"Ethereum JSONRPC provider, such as Infura or Cloudflare" default:"https://eth.drpc.org"` // Versus API key on Infura
2424
RateLimit float64 `short:"r" long:"ratelimit" description:"rate limit for generating jsonrpc calls"`
2525

2626
Version bool `long:"version" description:"Print version and exit."`

0 commit comments

Comments
 (0)