Open MBSL73 opened 2 months ago
What rpc u are using
Thanks for answering, have tried with both helius and shyft.
I had to change some of the paths to the copy-buy & copy sell files as I am on linux not windows (they seemed to be pointing to a location on a "C: " drive). Don't know if that has caused the issue. Pretty sure they are correct though.
When i run a simple js file to test connection to the solana network with the .env file filled out, it comes back as having a connection.
I am running it by navigating to the copy trade folder and running it with node copy-trade.js , assume that is what I am supposed to be doing?
yes, in https://github.com/outsmartchad/solana-memecoin-cli/blob/main/src/helpers/config.js , 1. you should copy your own .env path to change the original path, it's likely your c:// path's format is not correct, and 2. for the copy-trade, you should copy your own copy-buy & copy-sell path, and 3. change the bought_token.json path to ur own path in copy-buy and copy-sell, the way i change it is i put the path in a constant.js at the same dir, and every file refer to it and use it
Sorry for make it complicated to get start, i will put it into a constant.js and refer to it
No problem at all, but I think I have changed all of those correctly and it's not working.
still wrestling with this, it's driving me nuts. also your discord link is expired
Updated link
I'm also facing the same problem. I changed all the paths and it still says npm error could not determine executable to run
join the dc, talk about it
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 (/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)
http:
orhttps:
.'); 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.any idea how to solve this?