solana-go-sdk
solana-go-sdk copied to clipboard
Help With Serum
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.
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