Skip to content

dotbitHQ/unipay

Repository files navigation

unipay

Order service that supports payment using CKB, ETH, BNB, Matic, TRX.

Prerequisites

Install & Run

Source Compile

# get the code
git clone https://github.com/dotbitHQ/unipay.git

# edit config/config.yaml and run unipay_svr

# compile and run
cd unipay
make unipay_svr
./unipay_svr --config=config/config.yaml

Docker

  • docker >= 20.10
  • docker-compose >= 2.2.2
sudo curl -L "https://github.com/docker/compose/releases/download/v2.2.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose
docker-compose up -d

if you already have a mysql installed, just run

docker run -dv $PWD/config/config.yaml:/app/config/config.yaml --name unipay_svr dotbitteam/unipay:latest

API Usage

Here are the APIs details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages