Dev module transfer coin, swap coin on terra by python
Budget: $30 – $250 USD
Input:
docs terra and lib python3.7 at:
Code lib: https://github.com/terra-money
Ouput: 1 file terra.py with:
1> class terra() login 1 master wallet terra by private key, include below intefaces…
2> 1 global func send_coin( coin, send_to, value)
Coin can be : luna, ust, send coin from master account to send_to
3> 1 global func fetch balance of master account and save to $vol[coin index]
4> global func check, return rate luna/ ust from terra swap
5> global func swap_2_luna(coin=“ust”, valuein)
6> global func swap_2_ust(coin=“luna”, valuein)
7> Auto check and set gas, handle error if fail in send data to server and retry.
Test all interfaces working ok on blockchain terra.
Print out data to console.
Using web3, requests, python3.7
docs terra and lib python3.7 at:
Code lib: https://github.com/terra-money
Ouput: 1 file terra.py with:
1> class terra() login 1 master wallet terra by private key, include below intefaces…
2> 1 global func send_coin( coin, send_to, value)
Coin can be : luna, ust, send coin from master account to send_to
3> 1 global func fetch balance of master account and save to $vol[coin index]
4> global func check, return rate luna/ ust from terra swap
5> global func swap_2_luna(coin=“ust”, valuein)
6> global func swap_2_ust(coin=“luna”, valuein)
7> Auto check and set gas, handle error if fail in send data to server and retry.
Test all interfaces working ok on blockchain terra.
Print out data to console.
Using web3, requests, python3.7