Closed samtheloanman closed 3 years ago
Also wondering if we can run this on the testnet, we had the same error when trying the testnet
Also just tried RPC_URL=https://mainnet.infura.io/v3/njpp****
Removing the quotation marks, still same issue
same with me
how did you fix it
Any updates?
update ?
I've gotten a lot closer using web scalping techniques with python can easily pull up a coin and its price still trying to figure out how to integrate it into the node.js version or whatever this other script is the python code doesn't quite convert
On Sat, Sep 3, 2022, 12:19 PM FedeOn360hz @.***> wrote:
update ?
— Reply to this email directly, view it on GitHub https://github.com/dappuniversity/price-bot/issues/24#issuecomment-1236176599, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYFHBWNTY2MGKVGNUSASD4LV4OJBZANCNFSM43WHRUIQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Updates??
Hi there : ) can you please help me with this issue, I am really excited to run this bot with my daughter (9 yrs old), I am doing project based learning with her and this is one of our projects but we ran into this error when running this bot. Please help ; )
Listening on 5000 Checking prices... Error: Invalid JSON RPC response: "invalid project id\n" at Object.InvalidResponse (/Users/custommortgage/Documents/trading-cat/price-bot/node_modules/web3-core-helpers/src/errors.js:42:16) at XMLHttpRequest.request.onreadystatechange (/Users/custommortgage/Documents/trading-cat/price-bot/node_modules/web3-providers-http/src/index.js:92:32) at XMLHttpRequestEventTarget.dispatchEvent (/Users/custommortgage/Documents/trading-cat/price-bot/node_modules/xhr2-cookies/xml-http-request-event-target.ts:44:13) at XMLHttpRequest._setReadyState (/Users/custommortgage/Documents/trading-cat/price-bot/node_modules/xhr2-cookies/xml-http-request.ts:219:8) at XMLHttpRequest._onHttpResponseEnd (/Users/custommortgage/Documents/trading-cat/price-bot/node_modules/xhr2-cookies/xml-http-request.ts:345:8) at IncomingMessage. (/Users/custommortgage/Documents/trading-cat/price-bot/node_modules/xhr2-cookies/xml-http-request.ts:311:39)
at IncomingMessage.emit (events.js:327:22)
at endReadableNT (internal/streams/readable.js:1327:12)
at processTicksAndRejections (internal/process/task_queues.js:80:21)
This is our .env file details:
RPC_URL="https://mainnet.infura.io/v3/njpp****" PRIVATE_KEY="**" ACCOUNT="0xCf9F30Ab738FD10D9189755b83f942e7Ad83f0D6"