Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i keep getting same error #48

Open
marlonmuthiani opened this issue Jan 30, 2025 · 0 comments
Open

i keep getting same error #48

marlonmuthiani opened this issue Jan 30, 2025 · 0 comments
Assignees

Comments

@marlonmuthiani
Copy link

PS C:\Users\user\git repos\pump-fun-bot> py trade.py
Traceback (most recent call last):
File "C:\Users\user\git repos\pump-fun-bot\trade.py", line 14, in
from solana.transaction import Transaction
ModuleNotFoundError: No module named 'solana.transaction'

whats i did to try and solve it was to change imports from:

from solana.transaction import Transaction

to: from solder.transaction import Transaction

it works but i get the following error after a while

PS C:\Users\user\git repos\pump-fun-bot> py trade.py Waiting for a new token creation... Subscribed to blocks mentioning program: 6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P New token created: { "name": "sell me this pen", "symbol": "pen", "uri": "https://ipfs.io/ipfs/Qmc5VH8F1KCv9k5vLCT4UhxexnzWbHvUkyxmLqNh6ojMNy", "mint": "BaYhwX85xWJBcM9ULmL84J9betJsgWCnP5KavE6Cpump", "bondingCurve": "AAXdfdNSzD8faejQEWmwA4EJWEM7S3rpMbe2j7bycbgP", "associatedBondingCurve": "8ohL3wD8zeVK15r1PWAVn1jSQZViCC9JupDkXACz3SRz", "user": "FXwZoAzHhYT33cijZKhAiESikVUouvTrs1ERxLDKUEGr" } Token information saved to trades\BaYhwX85xWJBcM9ULmL84J9betJsgWCnP5KavE6Cpump.txt Waiting for 15 seconds for things to stabilize... Bonding curve address: AAXdfdNSzD8faejQEWmwA4EJWEM7S3rpMbe2j7bycbgP Token price: 0.0000000296 SOL Buying 0.000100 SOL worth of the new token with 10.0% slippage tolerance... Creating associated token account (Attempt 1)... Attempt 1 to create associated token account failed: Transaction.new() missing 3 required positional arguments: 'from_keypairs', 'message', and 'recent_blockhash' Retrying in 1 seconds...

after some time troubleshooting i decided to hop on here to see if anyone else is facing the same issue.....if so how did you solve it and any succsesfull trades.thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants