chainstacklabs / pump-fun-bot

A fully functional pump.fun trading and sniping bot not relying on any 3rd party APIs
57 stars 28 forks source link

New manual_buy.py (solders) - 'solders.transaction.Transaction' object has no attribute #11

Open creosmart opened 4 days ago

creosmart commented 4 days ago

@smypmsa, I'm getting the following error using the new manual_buy.py. Could you please check what might be the cause? Any help would be greatly appreciated. Attempt 1 to create associated token account failed: Unable to confirm transaction 4DQJpmBAt9kmReMQ8gpeUpdok5YPTcmmbPRNC13XeRX4fVeBpGvV27xFQsNn5ddXUNRiap6QbZgRDnJbge3cxcUt

smypmsa commented 4 days ago

Please debug the code, run it against different tokens. You can enhance the logic and handle more exceptional cases. From what I experienced, this issue happens to some of tokens not all.

creosmart commented 3 days ago

Ok, silly me 😁 It was the Solana version again. I downgraded to solana>=0.34.3 and checked that all the other versions are as specified in the requirements.txt. Now I'm getting: Attempt 1 to create associated token account failed: 'solders.transaction.Transaction' object has no attribute 'recent_blockhash' and no dict for setting new attributes