Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options questions only not deleted user 660

Questions using Cross-Program Invocation (CPI) to make calls between on-chain programs

1 vote
1 answer
274 views

"error: ... An account required by the instruction is missing" when issuing create_metadata_...

As long as the actual invoke_signed (to execute the inner instruction via CPI) is commented out... … transaction: Transaction simulation failed: Error processing Instruction 0: An account required by the instruction is missing PLEASE NOTE: The error message must be for the INNER instruction (called via CPI
AllBlooming's user avatar
  • 2,309
1 vote
2 answers
1k views

How to create a metadata account for a token whose mint authority is a PDA?

So in order to add the metadata, I need to create a new instruction into my Program, and do a CPI there. I'm having a hard time defining all the correct parameters there. …
AllBlooming's user avatar
  • 2,309
2 votes
1 answer
187 views

How to add metadata to a token whose mint is a PDA?

My token is program-controlled, i.e. my mint address (and authority) is a PDA. For that reason, I have to create code within my Solana Program to add metadata to my token. While I can easily mint, it …
AllBlooming's user avatar
  • 2,309