Skip to content

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

License

Notifications You must be signed in to change notification settings

chekist32/goipay

Repository files navigation

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
      https://github.com/chekist32/goipay.git
  • Inside the root dir create and populate .env file on the base of .env.example file
      # 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.
      docker compose up

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages