DV Pay API is a free and open-source cryptocurrency payment processor which allows you to accept cryptocurrency without fees or intermediaries.
- Direct, peer-to-peer cryptocurrency payments
- No transaction fees (other than the network fee)
- No fees, middleman or KYC
- Non-custodial (complete control over the private key)
- Enhanced privacy & security
- Self-hosted
- Share your instance with friends (multi-tenant)
- Invoice management and Payment requests
- Bitcoin
- USDT (TRC20)
- ETH
- USDT (ERC20)
- Π‘entOS 7 or 8
- PHP ^8.1
- MySQL Percona 8.0+
- Redis
- Nginx
Based on laravel framework with any popular laravel package
Easy to launch - just follow steps below!
For successful installation you will need 3 domains:
- Frontend domain. Domain on which the personal account user interface will be deployed;
- Backend domain. Domain where the backend will be located;
- Payment domain. The domain where the payment form for your clients will be located;
- Processing URL contact DV Support to get it.
For example, if your main site is on the
mybestshop.com
domain, then you can create the following additional domains:
app.mybestshop.com
(frontend)api.mybestshop.com
(backend)pay.mybestshop.com
(payment)
Prepare a virtual machine with CentOS. All necessary update packages will be installed automatically during script execution.
Login to your virtual machine as a root user and launch the script below:
bash <(curl -Ls https://raw.githubusercontent.com/RadgRabbi/dv-backend/master/init.sh)
System will ask you to enter domains, follow next step.
Enter your domains, which you got during preparation
If you are going to use your own payments processing - enter IP or URL here. If not - ask DV Support to use ours ablosutely free!
After entering processing URL script will continue installation. In the end of script you will be provided with DV Credentials - copy it to a safe place.
-
Use a command to move in 'frontend/www' directory:
cd ./home/server/frontend/www
and edit
.env
file (any editor. we use "nano" in this guide):nano .env
-
In the editor change
http
tohttps
β
Save and exit.
-
Rebuild your frontend with the command:
npm run build
DV backend is now successfully installed! Now you are ready to launch DV admin app - use your domain and credentials you were provided earlier to log in.
Feel free to contact us in DV Support!