web3modal icon indicating copy to clipboard operation
web3modal copied to clipboard

How to connect to localhost:8545

Open y0unghe opened this issue 2 years ago • 1 comments

What value should I put to key network so it can connect to localhost:8545 node with chainId:1337?

y0unghe avatar Apr 28 '22 07:04 y0unghe

const providerOptions = { walletconnect: { package: WallectConnectProvider, options: { rpc: { 1337: 'http://localhost:8545', }, chainId: 1337, }, }, } You just need to change the provider options!.

chattertechno avatar Apr 30 '22 16:04 chattertechno

const providerOptions = { walletconnect: { package: WallectConnectProvider, options: { rpc: { 1337: 'http://localhost:8545', }, chainId: 1337, }, }, } You just need to change the provider options!.

Appreciate you helping out @chattertechno 🙌

hackyguru avatar Sep 16 '22 17:09 hackyguru