2017-12-19 03:41:33 +01:00
![BTCPay Server ](BTCPayServer/wwwroot/img/btc_pay_BG_twitter.png )
2017-09-29 08:21:41 +02:00
[![Docker Automated build ](https://img.shields.io/docker/automated/jrottenberg/ffmpeg.svg )](https://hub.docker.com/r/nicolasdorier/btcpayserver/)
2017-12-19 04:41:15 +01:00
[![Deploy to Azure ](https://azuredeploy.net/deploybutton.svg )](https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2Fbtcpayserver%2Fbtcpayserver-azure%2Fmaster%2Fazuredeploy.json)
2017-09-29 08:13:07 +02:00
2017-09-13 08:47:34 +02:00
# BTCPay Server
## Introduction
2018-01-17 17:45:57 +01:00
BTCPay Server is an Open Source payment processor, written in C#, that conforms to the invoice API of [Bitpay ](https://bitpay.com/ ).
2017-12-19 03:35:46 +01:00
This allows easy migration of your code base to your own, self-hosted payment processor.
2017-09-13 08:47:34 +02:00
2017-12-19 03:35:46 +01:00
This solution is for you if:
2017-09-13 08:47:34 +02:00
2018-01-17 17:42:06 +01:00
* You are currently using Bitpay as a payment processor but are worried about their commitment to Bitcoin in the future
2017-12-19 03:35:46 +01:00
* You want to be in control of your own funds
* Bitpay compliance team decided to reject your application
2018-01-17 17:42:06 +01:00
* You want lower fees (we support Segwit)
* You want to become a payment processor yourself and offer a BTCPay hosted solution to merchants
* You want a way to support currencies other than those offered by Bitpay
2017-10-21 13:30:59 +02:00
2017-12-19 04:19:08 +01:00
## Documentation
2017-10-21 13:53:48 +02:00
2017-12-19 04:19:08 +01:00
Please check out our [complete documentation ](https://github.com/btcpayserver/btcpayserver-doc ) for more details.
2018-03-02 21:04:00 +01:00
You can also checkout [The Merchants Guide to accepting Bitcoin directly with no intermediates through BTCPay ](https://www.reddit.com/r/Bitcoin/comments/81h1oy/the_merchants_guide_to_accepting_bitcoin_directly/ ).
2018-03-05 16:58:27 +01:00
## How to build
While the documentation advise using docker-compose, you may want to build yourself outside of development purpose.
2018-03-06 15:35:20 +01:00
First install .NET Core SDK as specified by [Microsoft website ](https://www.microsoft.com/net/download ).
2018-03-06 15:18:00 +01:00
On Powershell:
2018-03-05 16:58:27 +01:00
```
2018-03-06 15:18:00 +01:00
.\build.ps1
```
On linux:
```
2018-03-06 15:40:21 +01:00
./build.sh
2018-03-05 16:58:27 +01:00
```
## How to run
2018-03-06 15:18:00 +01:00
Use the `run` scripts to run BTCPayServer, this example show how to print the available command line arguments of BTCPayServer.
On Powershell:
```
.\run.ps1 --help
```
On linux:
2018-03-05 16:58:27 +01:00
```
2018-03-06 15:40:21 +01:00
./run.sh --help
2018-03-05 16:58:27 +01:00
```
2018-03-06 15:40:21 +01:00
## Other dependencies
For more information see the documentation [How to deploy a BTCPay server instance ](https://github.com/btcpayserver/btcpayserver-doc/blob/master/Deployment.md ).