skynetcap/solanaj

Instruction for swap on Orca

Closed this issue · 1 comments

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.