solanaj
solanaj copied to clipboard
Instruction for swap on Orca
I want to build the instruction for swapping on DEX Orca.
I don't understand how to build data
for SystemProgram.createTransactionInstruction
.
If someone can help me with this, or has any useful link.
Thank you.
See https://github.com/skynetcap/solanaj-programs for client implementations of other on-chain programs, and use as a template.