solana-go-sdk icon indicating copy to clipboard operation
solana-go-sdk copied to clipboard

Help With Serum

Open h4ckitt opened this issue 3 years ago • 1 comments

Hi, I Really Love This Library And I've Gone Through The Gitbook.

This Is Not An Issue With The Library, Rather A Call For Help To Get The Right Direction.

I Need To Communicate With The Serum Dex And Using A Private Key, Serum Market ID, Size, Operation (Buy/Sell) And Order Type Constant (IOC) To Execute An Order And Output The Transaction Hash In 1 RPC Command.

Please, Can I Use Your Library To Achieve This? I Would Be Grateful If I Can Be Pointed In The Right Direction.

Thanks In Anticipation.

h4ckitt avatar Jan 29 '22 20:01 h4ckitt

Sure. For now you will need to build the instruction by yourself. I haven't wrapped serum instructions yet. https://github.com/project-serum/serum-dex/blob/master/dex/src/instruction.rs

yihau avatar Feb 06 '22 14:02 yihau