Solana Tokens Swap on Saber (DEX) in golang

Job ID: 32802852

Budget: $250 – $750 USD

The job is to write a SHORT PROGRAM IN GOLANG that uses SABER (https://docs.saber.so/) on SOLANA blockchain (https://solana.com/).
Just a program, no frontend or anything.

- INPUT: private key (wallet), saber market ID, size, buy or sell, order type constant [IOC]
(https://www.investopedia.com/terms/i/immediateorcancel.asp).
- After ORDER EXECUTION: settling funds (both instructions have to be in 1 rpc call)
- OUTPUT: signature (transaction hash).

Some documentation:
[https://github.com/saber-hq] implementation for trading on saber (instructions - order & settling needs to be in 1 transaction)
[https://docs.solana.com/developing/clients/jsonrpc-api] - solana rpc api
[https://docs.solana.com/cluster/rpc-endpoints] - rpc endpoints for solana
[https://github.com/gagliardetto/solana-go] - solana sdk for golang
[https://github.com/portto/solana-go-sdk] - unofficial solana sdk for golang

Payment requirements: compiled code for testing - linux.
Related categories: Golang Blockchain Smart Contracts Solana