A nim wrapper for the turtlecoin rpc interface
nimble install https://github.com/anonanonymous/turtlecoin-rpc-nim
Nim 0.19
- Arch Linux:
sudu pacman -Sy nim nimble
- Ubuntu / Debian:
sudo apt update; sudo apt install nim nimble
Open example.nim
and initialize a Wallet
instance using your daemon configuration
The default host and port are used if they are not specified.
let wallet = initWallet(host = "<hostname>", port = <port number>, password = "your password")
Compile and run using nim c -r -d:release example.nim