GOLANG / blockchain

Job ID: 32744664

Budget: $10 – $30 USD



I would like to know if you have interest in doing the following:



Task1: Swap on Serum /(golang)
The job is to write a short program in golang that uses serum market (solana blockchain). Input: private key (wallet), serum market ID, size, buy or sell, order type constant IOC. After order execution: settling funds (both instructions have to be in 1 rpc call) Output: signature (transaction hash).

Helpful docs:
https://github.com/project-serum/serum-js - javascript implementation for trading on serum (instructions - order a settling are in 2 transactions! we need in 1!)
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.

Task 2: will be similar thing but instead of using serum -> saber (https://docs.saber.so/ )

If you are interested and can do it - please let me know.