Skip to content
Discussion options

You must be logged in to vote

I see, the issue is, with Trident you are trying to initialize the mint before the transaction is executed. If you have experience with for example Anchor test, if the program initializes the mint, you cant initialize it before the instruction execution as you will get this already in use error. What you need to do instead is just get_or_create with correct seeds in order to obtain just address. The mint initialization will be handled by the program :)

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
1 reply
@IaroslavMazur
Comment options

Comment options

You must be logged in to vote
4 replies
@IaroslavMazur
Comment options

@IaroslavMazur
Comment options

@lukacan
Comment options

@IaroslavMazur
Comment options

Answer selected by IaroslavMazur
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants