So I am working on a script that transfers tokens (custom-made tokens not owned by me) from one wallet to another in python. How do I go about doing that? (By tokens I mean, tokens like Dust, Luv, etc.) And the info needed regarding the tokens, where do I get them from?

1 Answer 1


I think a similar question to yours has been answered at https://stackoverflow.com/questions/72665347/solana-transaction-using-python/73264835#73264835

please go through it and if you don't understand please reply

  • I tried that, but I got an error solders.SignerError: keypair-pubkey mismatch How do I fix it? I got the secret key from my phantom wallet Commented Dec 13, 2022 at 15:52
  • 1
    This error is similar to this link check it out Commented Dec 13, 2022 at 16:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.