solana-py
                                
                                 solana-py copied to clipboard
                                
                                    solana-py copied to clipboard
                            
                            
                            
                        Token Transfer Not working if Owner is a public_key
I have a fix for it can make a PR if you give me permissions.
Below is the fix i believe.

Yes. Please create a PR. 🙏

I dont have permissions to push to a branch
Please fork the repo and push to your branch.
Maybe related to https://github.com/michaelhly/solana-py/issues/268
The above solution given generates this result:
TypeError: 'Pubkey' object cannot be converted to 'Keypair'
The signer must be a keypair from what I see There is no chance for the signer to be a publickey
self._solders.sign(signers, self._solders.message.recent_blockhash)
solders.SignerError: keypair-pubkey mismatch
cc @kevinheavey
ugh maybe we should just bin the solana-py Transasction and direct people to solders.transaction. That doesn't have things like Transaction().add() though. The .add() API sucks but people are used to it and it mimics web3.js
I wouldn't mind lol
Or add() also add by just recreating the TransactionInstruction with the additional accounts.
That's what our current Transaction class does and it seems to break everything
I see 😕