Closed mariomatic closed 3 years ago
In the first example the address is already in use, the owner already has an ATA for that specific mint, all you need to do is use a different owner address and it should be ok.
Would have to do a bit more digging to figure out what's going on in the second one but odds are it has to do with signatures.
In the second example, add initialAccount
to the list of signers after the owner or change the account that is passed into MemoProgram to the owner. This is because the way I implemented the first version of the Memo Program it requires the account to be a signer.
Can cofirm. Adding initalAccount
as a signer fixes the example.
Good! Closing this then.
Reopened so a quick patch can be done to the SimpleMintTo example in reference to this because more people keep asking the same.
Should also add more info to the docs regarding the examples.
Describe the bug Example 0 (AssociatedTokenAccountsExample) , example 19 ( SimpleMintToExample )
fail.
To Reproduce
dotnet run
in Solnet.Examples dir.Example 0:
Example 19 :