solanaj icon indicating copy to clipboard operation
solanaj copied to clipboard

Instruction for swap on Orca

Open raul1ro opened this issue 11 months ago • 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.

raul1ro avatar Mar 06 '24 14:03 raul1ro

See https://github.com/skynetcap/solanaj-programs for client implementations of other on-chain programs, and use as a template.

skynetcap avatar Mar 14 '24 19:03 skynetcap