miguelmota / ethereum-development-with-go-book

📖 A little guide book on Ethereum Development with Go (golang)
https://goethereumbook.org
Other
1.74k stars 427 forks source link

change default ethereum rpc gateway #75

Closed xwjdsh closed 2 years ago

xwjdsh commented 2 years ago

When I tried the example, I got an error. It looks like mainnet.infura.io needs a project ID and It's a little unfriendly for beginners. I changed the default gateway address to one available out of the box.

403 Forbidden {"jsonrpc":"2.0","id":1,"error":{"code":-32600,"message":"project ID is required","data":{"reason":"project ID not provided","see":"https://infura.io/dashboard"}}}
miguelmota commented 2 years ago

Thanks @xwjdsh! This is a nice enhancement