Order service that supports payment using CKB, ETH, BNB, Matic, TRX.
- Ubuntu 18.04 or newer
- MYSQL >= 8.0
- go version >= 1.17.0
- CKB Node
- ETH Node
- BSC Node
- Tron Node
- Polygon Node
# 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 >= 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
Here are the APIs details.