Scott-778 / coinmarketcap-sniper-bot

Sniper bot to buy new tokens listed on Coinmarketcap.
MIT License
133 stars 62 forks source link

Below is the error got while buying but i have sufficient funds in my account or wallet #74

Open anandexclusive opened 2 years ago

anandexclusive commented 2 years ago

for sure I have enough money in the wallet. Custom strategy given. Below is the error got while buying but i have sufficient funds in my account or wallet

The system cannot find message text for message number 0x2350 in the message file for Application.

(c) Microsoft Corporation. All rights reserved. Not enough memory resources are available to process this command.

F:\BOT 25.03.2022\coinmarketcap-sniper-bot-main>node cmcBot.js [2022-03-28T10:20:48.709Z] [INFO] - [Running gramJS version 2.4.6] [2022-03-28T10:20:48.719Z] [INFO] - [Connecting to 91.108.56.117:80/TCPFull...] [2022-03-28T10:20:48.803Z] [INFO] - [Connection to 91.108.56.117:80/TCPFull complete!] [2022-03-28T10:20:48.804Z] [INFO] - [Using LAYER 137 for initial connect]

Current Version is v1.5

Your string session is: 1BQANOTEuMTA4LjU2LjExNwG7WpThqkqermEfT80Bs/cMNs8jSaQpPpt8W/nUF22op8NqQHUIg2WTALY7vTLUheDyvpg/PZ0OzlCNaDjrNLMoVtrWaMJ0l4EGlr8NEKGHOQbb+VrrB+k60eEIEWIs4CEmW/+suVOj8JujnWwRn9DAo7KVMTtxMpexcm1Yo2D6GVG5PHz7vzX0PphqlzZHdcVXh1wqbW1sg7UzYNlTIH13hRkOvZI3q7yebfqpkpDMa9SK6dXYISCftofHxn2jrHgdUlgWVDSJwTnYmfR+e8DqFMwOL9m3DNBnJqLSVxO0vwAYHwKhtzQZ5Ug+RNsElV4ro508aBC9H7cF88z/uZlUSw==

Connected to wallet: 0x513AC5d3b39677D985Ef68Fe982660cE82c8bEc4

? Welcome, please choose a buying strategy Default

Waiting for telegram notification to buy... --- NEW TOKEN FOUND FROM COINGECKO & COINMARKETCAP CHANNEL --- 3/28/2022, 11:21:25 AM Platform: COINMARKETCAP Liquidity: 50.69 BNB Buy tax: 10 % Sell tax: 14 % Contract: 0x41c8cef4917b92cf61ecd1f86c375161712cd2cc


<<< Attention! Buying token now! >>> Contract: 0x41c8cef4917b92cf61ecd1f86c375161712cd2cc F:\BOT 25.03.2022\coinmarketcap-sniper-bot-main\node_modules\@ethersproject\logger\lib\index.js:233 var error = new Error(message); ^

Error: insufficient funds for intrinsic transaction cost [ See: https://links.ethers.org/v5-errors-INSUFFICIENT_FUNDS ] (error={"reason":"processing response error","code":"SERVER_ERROR","body":"{\"jsonrpc\":\"2.0\",\"id\":51,\"error\":{\"code\":-32000,\"message\":\"insufficient funds for gas price + value\"}}\n","error":{"code":-32000},"requestBody":"{\"method\":\"eth_sendRawTransaction\",\"params\":[\"0xf8b3358501a13b86008316e36094dc56800e179964c3c00a73f73198976397389d26880214e8348c4f0000b84421bc9a5500000000000000000000000041c8cef4917b92cf61ecd1f86c375161712cd2cc000000000000000000000000513ac5d3b39677d985ef68fe982660ce82c8bec48194a0d0c486fc29bb78f9f1d4da53c66f1aad84b84cbc473e58c1a720663fb55f4ea4a029abd7d7a0e086c26d0919ff0839674387f7210943b4324338ab58701cc88b15\"],\"id\":51,\"jsonrpc\":\"2.0\"}","requestMethod":"POST","url":"https://bsc-dataseed.binance.org/"}, method="sendTransaction", transaction="0xf8b3358501a13b86008316e36094dc56800e179964c3c00a73f73198976397389d26880214e8348c4f0000b84421bc9a5500000000000000000000000041c8cef4917b92cf61ecd1f86c375161712cd2cc000000000000000000000000513ac5d3b39677d985ef68fe982660ce82c8bec48194a0d0c486fc29bb78f9f1d4da53c66f1aad84b84cbc473e58c1a720663fb55f4ea4a029abd7d7a0e086c26d0919ff0839674387f7210943b4324338ab58701cc88b15", code=INSUFFICIENT_FUNDS, version=providers/5.6.1) at Logger.makeError (F:\BOT 25.03.2022\coinmarketcap-sniper-bot-main\node_modules\@ethersproject\logger\lib\index.js:233:21) at Logger.throwError (F:\BOT 25.03.2022\coinmarketcap-sniper-bot-main\node_modules\@ethersproject\logger\lib\index.js:242:20) at checkError (F:\BOT 25.03.2022\coinmarketcap-sniper-bot-main\node_modules\@ethersproject\providers\lib\json-rpc-provider.js:95:16) at JsonRpcProvider. (F:\BOT 25.03.2022\coinmarketcap-sniper-bot-main\node_modules\@ethersproject\providers\lib\json-rpc-provider.js:659:47) at step (F:\BOT 25.03.2022\coinmarketcap-sniper-bot-main\node_modules\@ethersproject\providers\lib\json-rpc-provider.js:48:23) at Object.throw (F:\BOT 25.03.2022\coinmarketcap-sniper-bot-main\node_modules\@ethersproject\providers\lib\json-rpc-provider.js:29:53) at rejected (F:\BOT 25.03.2022\coinmarketcap-sniper-bot-main\node_modules\@ethersproject\providers\lib\json-rpc-provider.js:21:65) at processTicksAndRejections (node:internal/process/task_queues:96:5) { reason: 'insufficient funds for intrinsic transaction cost', code: 'INSUFFICIENT_FUNDS', error: Error: processing response error (body="{\"jsonrpc\":\"2.0\",\"id\":51,\"error\":{\"code\":-32000,\"message\":\"insufficient funds for gas price + value\"}}\n", error={"code":-32000}, requestBody="{\"method\":\"eth_sendRawTransaction\",\"params\":[\"0xf8b3358501a13b86008316e36094dc56800e179964c3c00a73f73198976397389d26880214e8348c4f0000b84421bc9a5500000000000000000000000041c8cef4917b92cf61ecd1f86c375161712cd2cc000000000000000000000000513ac5d3b39677d985ef68fe982660ce82c8bec48194a0d0c486fc29bb78f9f1d4da53c66f1aad84b84cbc473e58c1a720663fb55f4ea4a029abd7d7a0e086c26d0919ff0839674387f7210943b4324338ab58701cc88b15\"],\"id\":51,\"jsonrpc\":\"2.0\"}", requestMethod="POST", url="https://bsc-dataseed.binance.org/", code=SERVER_ERROR, version=web/5.6.0) at Logger.makeError (F:\BOT 25.03.2022\coinmarketcap-sniper-bot-main\node_modules\@ethersproject\logger\lib\index.js:233:21) at Logger.throwError (F:\BOT 25.03.2022\coinmarketcap-sniper-bot-main\node_modules\@ethersproject\logger\lib\index.js:242:20) at F:\BOT 25.03.2022\coinmarketcap-sniper-bot-main\node_modules\@ethersproject\web\lib\index.js:305:32 at step (F:\BOT 25.03.2022\coinmarketcap-sniper-bot-main\node_modules\@ethersproject\web\lib\index.js:33:23) at Object.next (F:\BOT 25.03.2022\coinmarketcap-sniper-bot-main\node_modules\@ethersproject\web\lib\index.js:14:53) at fulfilled (F:\BOT 25.03.2022\coinmarketcap-sniper-bot-main\node_modules\@ethersproject\web\lib\index.js:5:58) at processTicksAndRejections (node:internal/process/task_queues:96:5) { reason: 'processing response error', code: 'SERVER_ERROR', body: '{"jsonrpc":"2.0","id":51,"error":{"code":-32000,"message":"insufficient funds for gas price + value"}}\n', error: Error: insufficient funds for gas price + value at getResult (F:\BOT 25.03.2022\coinmarketcap-sniper-bot-main\node_modules\@ethersproject\providers\lib\json-rpc-provider.js:142:21) at processJsonFunc (F:\BOT 25.03.2022\coinmarketcap-sniper-bot-main\node_modules\@ethersproject\web\lib\index.js:348:22) at F:\BOT 25.03.2022\coinmarketcap-sniper-bot-main\node_modules\@ethersproject\web\lib\index.js:280:46 at step (F:\BOT 25.03.2022\coinmarketcap-sniper-bot-main\node_modules\@ethersproject\web\lib\index.js:33:23) at Object.next (F:\BOT 25.03.2022\coinmarketcap-sniper-bot-main\node_modules\@ethersproject\web\lib\index.js:14:53) at fulfilled (F:\BOT 25.03.2022\coinmarketcap-sniper-bot-main\node_modules\@ethersproject\web\lib\index.js:5:58) at processTicksAndRejections (node:internal/process/task_queues:96:5) { code: -32000, data: undefined }, requestBody: '{"method":"eth_sendRawTransaction","params":["0xf8b3358501a13b86008316e36094dc56800e179964c3c00a73f73198976397389d26880214e8348c4f0000b84421bc9a5500000000000000000000000041c8cef4917b92cf61ecd1f86c375161712cd2cc000000000000000000000000513ac5d3b39677d985ef68fe982660ce82c8bec48194a0d0c486fc29bb78f9f1d4da53c66f1aad84b84cbc473e58c1a720663fb55f4ea4a029abd7d7a0e086c26d0919ff0839674387f7210943b4324338ab58701cc88b15"],"id":51,"jsonrpc":"2.0"}', requestMethod: 'POST', url: 'https://bsc-dataseed.binance.org/' }, method: 'sendTransaction', transaction: { nonce: 53, gasPrice: BigNumber { _hex: '0x01a13b8600', _isBigNumber: true }, gasLimit: BigNumber { _hex: '0x16e360', _isBigNumber: true }, to: '0xDC56800e179964C3C00a73f73198976397389d26', value: BigNumber { _hex: '0x0214e8348c4f0000', _isBigNumber: true }, data: '0x21bc9a5500000000000000000000000041c8cef4917b92cf61ecd1f86c375161712cd2cc000000000000000000000000513ac5d3b39677d985ef68fe982660ce82c8bec4', chainId: 56, v: 148, r: '0xd0c486fc29bb78f9f1d4da53c66f1aad84b84cbc473e58c1a720663fb55f4ea4', s: '0x29abd7d7a0e086c26d0919ff0839674387f7210943b4324338ab58701cc88b15', from: '0x513AC5d3b39677D985Ef68Fe982660cE82c8bEc4', hash: '0x585d25ace0f86634c9281bbc21c42494d01acba368fd6fa4a4e3d07d0e7384e5', type: null, confirmations: 0 }, transactionHash: '0x585d25ace0f86634c9281bbc21c42494d01acba368fd6fa4a4e3d07d0e7384e5' }

F:\BOT 25.03.2022\coinmarketcap-sniper-bot-main>

Scott-778 commented 2 years ago

You are trying to buy with 0.15 Bnb but you only have 0.13 in your wallet you have insufficient funds to purchase that's why you get the error. I told you this on telegram the other day

Scott-778 commented 2 years ago

Make sure you pick your strategy in config.js on line 27 if you use the default option

anandexclusive commented 2 years ago

Sir, Thank you

Scott-778 commented 2 years ago

Try updating ethers

npm install ethers