-
Notifications
You must be signed in to change notification settings - Fork 195
Description
Hi, I am trying to run the copytrading module and I am getting this error even though i have entered the endpoint correctly in the .env file:
throw new TypeError('Endpoint URL must start with http: or https:.');
at assertEndpointUrl (/home/mayo_boy/solana-memecoin-cli/node_modules/@solana/web3.js/lib/index.cjs.js:4456:11)
at new Connection (/home/mayo_boy/solana-memecoin-cli/node_modules/@solana/web3.js/lib/index.cjs.js:6044:25)
at Object. (/home/mayo_boy/solana-memecoin-cli/src/helpers/config.js:50:24)
at Module._compile (node:internal/modules/cjs/loader:1434:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1518:10)
at Module.load (node:internal/modules/cjs/loader:1249:32)
at Module._load (node:internal/modules/cjs/loader:1065:12)
at Module.require (node:internal/modules/cjs/loader:1271:19)
at require (node:internal/modules/helpers:123:16)
at Object. (/home/mayo_boy/solana-memecoin-cli/src/Trading/memecoin_trading_strategies/copy_trading/copy-sell.js:9:61)
any idea how to solve this?