Skip to content

spirobel/monerochan-merchant-rpc

Repository files navigation

Get started

Clone this repository and run: ./monerochan-merchant-rpc in this directory. Afterwards you can visit the interactive docs page at http://localhost:3001/api-docs/ You can interactively play around with the api calls in the docs page. The curl commands generated by this doc page can be executed directly in the page (no need to copy them.) or you can convert them automatically to the language of your choice. For example this is a tool that you can use if you want to use this api with ruby: https://jhawthorn.github.io/curl-to-ruby/

Please also take a look at the monero-playground In this repo you will find everything that is necessary to setup a local monero testnet. (You will need it if you want to play around with this API and you want immedate responses instead of the added latency of using stagenet nodes). It can be done very easily by just cloning the repo and running two commands.

What the docs look like:

The page you can access now in your browser at http://localhost:3001/api-docs/ looks like this: image of what the docs look like

Troubleshooting

You wont be able to make invoices while the wallet is not fully synced. Use the status endpoint to verify that the wallet is synced first. After that You can use the makeinvoice endpoint.

About

A tool to accept digital cash at your online business.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published