Nafidinara / bot-pancakeswap

Sniping bot for pancakeSwap. Auto buy, custom slippage and GWEI
729 stars 377 forks source link

TRANSFER_FROM_FAILED #72

Closed cem-altuner closed 3 years ago

cem-altuner commented 3 years ago

Hi,

idk why can't buy because of the TRANSFER_FROM_FAILED error. Could you help?

Transaction link

You can check my balance it's enough to buy for 0.01 bnb.

Error caused by : 
        {
        reason : transaction failed,
        transactionHash : 0xf9bf21593d847ddfe52baf6f797b45279b16c9809084f2ed134349e9d13bb98d
        message : [object Object]
        }
{
  reason: 'transaction failed',
  code: 'CALL_EXCEPTION',
  transactionHash: '0xf9bf21593d847ddfe52baf6f797b45279b16c9809084f2ed134349e9d13bb98d',
  transaction: {
    nonce: 42,
    gasPrice: { type: 'BigNumber', hex: '0x0ba43b7400' },
    gasLimit: { type: 'BigNumber', hex: '0x06ddd0' },
    to: '0x10ED43C718714eb63d5aA57B78B54704E256024E',
    value: { type: 'BigNumber', hex: '0x00' },
    data: '0x5c11d795000000000000000000000000000000000000000000000000002386f26fc10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000001cccfa4fd5b3548ed6ed310bc9da68409b935a7b0000000000000000000000000000000000000000000000000000017b0d70f3c40000000000000000000000000000000000000000000000000000000000000002000000000000000000000000bb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c00000000000000000000000042a308b8c1d84672c7064510ef4a292214a3a4eb',
    chainId: 56,
    v: 148,
    r: '0x72a487bccd298026cb10a2dd7341bacab1e1c4dfd8947ebad26235093a69d9a0',
    s: '0x08eee2e06146b49ea74d2ab21847496a4ab8583e634658fccadc515528b8f68a',
    from: '0x1ccCFA4Fd5B3548eD6ED310bC9dA68409b935a7b',
    hash: '0xf9bf21593d847ddfe52baf6f797b45279b16c9809084f2ed134349e9d13bb98d',
    type: null
  },
  receipt: {
    to: '0x10ED43C718714eb63d5aA57B78B54704E256024E',
    from: '0x1ccCFA4Fd5B3548eD6ED310bC9dA68409b935a7b',
    contractAddress: null,
    transactionIndex: 0,
    gasUsed: { type: 'BigNumber', hex: '0x69e6' },
    logsBloom: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000',
    blockHash: '0xad43703094fe9f392e978b761c8bf9bd2e8ff13895049d4c014ec40d4405196b',
    transactionHash: '0xf9bf21593d847ddfe52baf6f797b45279b16c9809084f2ed134349e9d13bb98d',
    logs: [],
    blockNumber: 9720951,
    confirmations: 1,
    cumulativeGasUsed: { type: 'BigNumber', hex: '0x69e6' },
    status: 0,
    byzantium: true
  }
}
Nafidinara commented 3 years ago

HI, I see many of yours get same problem, check this to solve : https://github.com/Nafidinara/bot-pancakeswap#TROUBLESHOOT

bbgunxx commented 3 years ago

same issue have you fixed ?

Meta-Ben commented 2 years ago

I think he doesnt care anymore cause I also have the same issue when trying to swap tokens

Nafidinara commented 2 years ago

I think he doesnt care anymore cause I also have the same issue when trying to swap tokens

Hi,please read guide carefully, Im already give you the references