How to send custom instructions via instruction data #381
Answered
by
hoakbuilds
sh4hri4roo
asked this question in
Q&A
-
Hello, |
Beta Was this translation helpful? Give feedback.
Answered by
hoakbuilds
May 4, 2022
Replies: 1 comment 3 replies
-
The same way you would interact with any other program. We have a lot of implemented programs, you will need to implement methods like the ones seen here and add those If you're using anchor for your program, you can use Solnet.Anchor to generate a client to fetch the accounts and create the instructions + submit them. |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
sh4hri4roo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The same way you would interact with any other program. We have a lot of implemented programs, you will need to implement methods like the ones seen here and add those
TransactionInstruction
to theTransactionBuilder
.If you're using anchor for your program, you can use Solnet.Anchor to generate a client to fetch the accounts and create the instructions + submit them.