All Projects → RuiSiang → monero-merchant

RuiSiang / monero-merchant

Licence: Apache-2.0 license
Monero Merchant is a RESTful API wrapper for the official Monero wallet RPC. This project is mainly for merchants who hope to accept Monero as payment, which is currently the most robust and privacy-oriented cryptocurrency with extremely low transaction fees.

Programming Languages

typescript
32286 projects
HTML
75241 projects
javascript
184084 projects - #8 most used programming language
Dockerfile
14818 projects

Projects that are alternatives of or similar to monero-merchant

node-server
(@nestjs refactoring)⚡️My personal website's api server, a RESTful application that powered by @eggjs
Stars: ✭ 17 (-37.04%)
Mutual labels:  koa2, restful-api
monero-stratum-docker
No description or website provided.
Stars: ✭ 42 (+55.56%)
Mutual labels:  monero, monero-wallet-rpc
rest node api
用node实现restful风格的api
Stars: ✭ 55 (+103.7%)
Mutual labels:  koa2, restful-api
koa2-rest-scaffold
Koa2 RESTful API 脚手架。
Stars: ✭ 27 (+0%)
Mutual labels:  koa2, restful-api
koa-rest-router
Most powerful, flexible and composable router for building enterprise RESTful APIs easily!
Stars: ✭ 67 (+148.15%)
Mutual labels:  koa2, restful-api
Sinn Server
an node server for sinn,that based on of nodejs,koa2,mongoose,docker,nginx,es6/7,Resful API,阿里云 http://servertest.boyagirl.com/
Stars: ✭ 228 (+744.44%)
Mutual labels:  koa2, restful-api
Koa2 Api Scaffold
一个基于Koa2的轻量级RESTful API Server脚手架。
Stars: ✭ 694 (+2470.37%)
Mutual labels:  koa2, restful-api
koa2-swagger-ui
Swagger UI as Koa v2 middleware
Stars: ✭ 95 (+251.85%)
Mutual labels:  swagger-ui, koa2
Gradle Swagger Generator Plugin
Gradle plugin for OpenAPI YAML validation, code generation and API document publishing
Stars: ✭ 197 (+629.63%)
Mutual labels:  swagger-ui
M-Volunteer-SpringBoot
美志愿APP服务端,客户端在https://github.com/learner1999/M-Volunteer
Stars: ✭ 52 (+92.59%)
Mutual labels:  restful-api
Drf Yasg
Automated generation of real Swagger/OpenAPI 2.0 schemas from Django REST Framework code.
Stars: ✭ 2,523 (+9244.44%)
Mutual labels:  swagger-ui
Restrserve
R web API framework for building high-performance microservices and app backends
Stars: ✭ 207 (+666.67%)
Mutual labels:  swagger-ui
helm-swagger-ui
Helm Chart for Swagger UI
Stars: ✭ 23 (-14.81%)
Mutual labels:  swagger-ui
Swagger Toolbox
💡 Swagger schema model (in yaml, json) generator from json data
Stars: ✭ 194 (+618.52%)
Mutual labels:  swagger-ui
md
Unofficial technical documentation for Monero cryptocurrency
Stars: ✭ 68 (+151.85%)
Mutual labels:  monero
Spring Boot Plus
🔥 Spring-Boot-Plus is a easy-to-use, high-speed, high-efficient,feature-rich, open source spring boot scaffolding. 🚀
Stars: ✭ 2,198 (+8040.74%)
Mutual labels:  swagger-ui
Jeecg
JEECG是一款基于代码生成器的J2EE快速开发平台,开源界“小普元”超越传统商业企业级开发平台。引领新的开发模式(Online Coding模式(自定义表单) - > 代码生成器模式 - > 手工MERGE智能开发), 可以帮助解决Java项目90%的重复工作,让开发更多关注业务逻辑。既能快速提高开发效率,帮助公司节省人力成本,同时又不失灵活性。具备:表单配置能力(无需编码)、移动配置能力、工作流配置能力、报表配置能力(支持移动端)、插件开发能力(可插拔)
Stars: ✭ 2,027 (+7407.41%)
Mutual labels:  swagger-ui
vue-node-mongodb-blog
vue + node + mongodb + webpack5 + koa2 从开发到上线搭建一款简约的个人博客系统(前后端分离)
Stars: ✭ 44 (+62.96%)
Mutual labels:  koa2
RestDoc
在运行时,使用Javadoc文档注释生成Swagger/OpenAPI规范
Stars: ✭ 63 (+133.33%)
Mutual labels:  swagger-ui
kotlin-ktor-exposed-sample-api
Kotlin Ktor Exposed SQL Immutable DB Rest API
Stars: ✭ 44 (+62.96%)
Mutual labels:  restful-api

Monero Merchant

nodejs-ci njsscan sarif CodeQL GitHub repo size Docker Image Size (tag)

About

Monero Merchant is a RESTful API based on the official Monero wallet RPC. This project is mainly for merchants who hope to accept Monero as payment, which is currently the most robust and privacy-oriented cryptocurrency with extremely low transaction fees.

Prerequisites

Installation

Docker image available on Docker Hub

Clone repo and install dependencies

git clone https://github.com/RuiSiang/monero-merchant
npm install

Configure settings by editting .env.example and renaming it to .env, options are as follows

  • BASE_URL: base url of the api, change this to fit your domain name
  • PORT: port for monero merchant to listen on
  • CRYPTO_MOCK: whether to use stub wallet, for testing use
  • CRYPTO_HOST: Monero wallet RPC hostname
  • CRYPTO_PORT: Monero wallet RPC port
  • MIN_CONFIRMATIONS: minimum number of confirmations to consider as received
  • INVOICE_EXPIRY: time (seconds) until invoice expires

Test Config and Code Integrity

npm run test

Build and Run

npm run build
npm start

If you wish to run monero-merchant with Docker, see docker-compose.example.yaml for more information

Methods

GET /new

  • query: amount, description, refund
  • response: id, address

GET /info

  • query: id
  • response: status, amount, address, refund, expiry, description

Interactive Swagger docs at /swagger-html and /swagger-json

Buy me a coffee

XMR address: 8BCaS8k6ag34JwruWhNHRBFwucWgYP7UfGXEMovdgLvtevoPps1XFipK4Fw2Kh5hPvLL1dBnpD6UKXWK8v8zFeVsPAXpAZG

Todos

  • api key authentication to add security
  • unit test method for mocking real wallet rpc to increase coverage
  • additional endpoints (new features)

Please feel free to provide suggestions and feature requests

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].