https://github.com/moneroexamples/json-rpc-xmr
Using libjson-rpc-cpp with Monero
https://github.com/moneroexamples/json-rpc-xmr
Last synced: about 1 year ago
JSON representation
Using libjson-rpc-cpp with Monero
- Host: GitHub
- URL: https://github.com/moneroexamples/json-rpc-xmr
- Owner: moneroexamples
- Created: 2016-12-06T03:09:29.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-12-06T06:18:50.000Z (over 9 years ago)
- Last Synced: 2025-03-30T13:02:28.504Z (about 1 year ago)
- Language: C++
- Size: 176 KB
- Stars: 3
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# json-rpc-xmr
Example of using [libjson-rpc-cpp](https://github.com/cinemast/libjson-rpc-cpp/) to provide monero related RPC service.
#How to call RPC from JSON
```bash
curl -X POST -H "Content-Type: application/json" -d '{"jsonrpc": "2.0", "id": "mwo", "method": "sayHello", "params": {"name":"mwo"}}' http://localhost:8383
```
## Other examples
Other examples can be found on [github](https://github.com/moneroexamples?tab=repositories).
Please know that some of the examples/repositories are not
finished and may not work as intended.
## How can you help?
Constructive criticism, code and website edits are always good. They can be made through github.
Some Monero are also welcome:
```
48daf1rG3hE1Txapcsxh6WXNe9MLNKtu7W7tKTivtSoVLHErYzvdcpea2nSTgGkz66RFP4GKVAsTV14v6G3oddBTHfxP6tU
```