I'm quite new to cryptocurrencies, and I want to make a program that runs simplewallet (monero-wallet-cli) in the background as an RPC server and make calls to it using C#. I already somewhat know how to start it as an RPC server (per this bytecoin wiki link), but how would I make calls to get information like the current balance and display it on the GUI, or make a transaction?
Asked
Active
Viewed 1,000 times
1 Answers
5
I think you should have a look at Monero's official Wallet RPC documentation. There's an example for each command.
Update: Those examples use the curl utility to send the HTTP request. The meaning of the parameters can be looked up in the man page.
dpzz
- 4,539
- 3
- 19
- 45
curlis just a UNIX utility to send an HTTP request to a certain URL. I am not into C#, but I suppose there's an API to construct an HTTP request. In order to understand the meaning of those parameters, have a look at the man page. For example,-Xis for the type of HTTP request,-His for the HTTP header to be sent along,-dis for the data to be sent. – dpzz Oct 11 '16 at 20:05