lidofinance / depositor-bot

Apache License 2.0
9 stars 8 forks source link

web3_rpc_endpoints is not supported. #234

Open Cooldee0317 opened 2 months ago

Cooldee0317 commented 2 months ago

I am going to use this bot in Pulsechain test net. So I set WEB3_RPC_ENDPOINTS to https://rpc.v4.testnet.pulsechain.com/ in the .env file. But in FallbackProvider, it sent an error like this rpc endpoint is not supported. How can I set the WEB3_RPC_ENDPOINTS for the Pulsechain test net.

F4ever commented 1 month ago

Seems you provided invalid URL. Make sure you've typed 'https://' or 'http://' correctly.

Cooldee0317 commented 1 month ago

I set it like this https://rpc.v4.testnet.pulsechain.com/ isn't that correct? Here are env file and error message. Screenshot_1 image Please check this and let me know what is wrong.

Regards.

hweawer commented 3 weeks ago

@Cooldee0317 do you run the bot in the docker container?

If not, can you please try to build the image with the docker-compose? The .env file should be used by default.