2

I'm taking my initial steps in Solana / Anchor / Smart Contracts / etc etc. My doubt is regarding the creation of the ATA. After creating all the needed steps, when trying to send and confirm the transaction, it only works (code provided below) when I add the mint keypair and the account keypair as signers. Shouldn't it work only with the mint keypair as signer?

enter image description here

1 Answer 1

3

This is because you're using baseaccount to pay state rent inside createInitializeMintInstruction.

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.