Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/chekist32/goipay

A lightweight crypto payment processor microservice, written in Golang, designed for creating and processing cryptocurrency invoices via gRPC.
https://github.com/chekist32/goipay

crypto cryptocurrencies cryptocurrency go golang monero payment-processor payments self-hosted selfhosted xmr

Last synced: 1 day ago
JSON representation

A lightweight crypto payment processor microservice, written in Golang, designed for creating and processing cryptocurrency invoices via gRPC.

Awesome Lists containing this project

README

        

# GoiPay


GoiPay

## Description
> **Note:**
> The project is in development. This is not a release version.
> As for now, only XMR invoices are implemented.

A lightweight crypto payment processor microservice, written in Golang, designed for creating and processing cryptocurrency invoices via gRPC.

## Getting Started
### Prerequisites
- Go ≥ 1.22
- PostgreSQL ≥ 16

### Installation
#### Docker
- Clone the repo
```sh
https://github.com/chekist32/goipay.git
```
- Inside the root dir create and populate ```.env``` file on the base of ```.env.example``` file
```sh
# Can be either 'prod' or 'dev'.
# In 'dev' mode, a reflection server is established.
MODE=dev

SERVER_HOST=localhost
SERVER_PORT=3000

# As for now, only PostgreSQL is supported
DATABASE_HOST=localhost
DATABASE_PORT=5432
DATABASE_USER=postgres
DATABASE_PASS=postgres
DATABASE_NAME=crypto_gateway_test

XMR_DAEMON_URL=http://node.monerodevs.org:38089
XMR_DAEMON_USER=
XMR_DAEMON_PASS=
```
- Inside the root dir you can find an example ```docker-compose.yml``` file. For testing purposes can be run without editing.
```sh
docker compose up
```