Upgrade the web-lib to V0.9.x, which enable more RPC settings.
For the supported networks, the logic is now this one:
is a webSocketURL env set ?
then use it
is a jsonRPCURL env set ?
then use it
is an Alchemy key set ?
then use it
if an Infura set ?
then use it
Otherwise, use the default RPC
Upgrade the web-lib to V0.9.x, which enable more RPC settings.
For the supported networks, the logic is now this one:
Default RPC are https://rpc.flashbots.net for Ethereum Mainnet and https://rpc.ftm.tools for Fantom Network. Exact implementation is available in the web-lib here.
In order to customise the env variable, you can create a
.env
file with the following informations: