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 3308

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

3 votes
1 answer
196 views

how to do basic CPI another program from our program?

I've read solana and anchor's documentation on doing CPI, but still don't really understand. what is the basis that must be understood when doing CPI program? … ("Calling the bubblegum program... {} | {}", ctx.accounts.bubblegum_program.key(), BUBBLEGUM_PROGRAM_ID); invoke( mpl_bubblegum::cpi::create_tree( CpiContext::new( …
Alfian Dwi Nugraha's user avatar
4 votes
3 answers
619 views

Anchor CPI Bubblegum Burn Error Cause Not Signer

when i try to do cpi to program bubblegum to call burn instruction with anchor. https://github.com/metaplex-foundation/metaplex-program-library/tree/master/bubblegum/program i got an error : "Program logged … , delegate.is_signer); mpl_bubblegum::cpi::burn( CpiContext::new( ctx.accounts.bubblegum_program.to_account_info(), mpl_bubblegum::cpi::accounts::Burn { …
Alfian Dwi Nugraha's user avatar