For the development environment you need to install these tools:
To execute tests and run the project for debugging you also need instances of the following running and configured on the right ports:
We recommend you use our dockerized setup to bootstrap the development environment: The file BTCPayServer.Tests/docker-compose.yml can be used to spin everything up:
git clone https://github.com/btcpayserver/btcpayserver.gitcd btcpayserver/BTCPayServer.Testsdocker-compose up dev
To get started see the README of the test project.
We recommend using Visual Studio Code (cross platform) or Visual Studio 2019 (Windows Only) or Rider (cross platform). You can of course use VIM if you are hardcore, .NET Core is command-line environment friendly.
Visual Studio Code, Visual Studio and Rider will run the debug profile Docker-Regtest. This will run a BTCPayServer instance connecting to the services in your Docker service, so you can easily debug and step through the code.
For more information check out these videos:
How to contribute to BTCPay Server Development (Windows) by Nicolas Dorier
and these notes:
How to get started with development by Nicolas Dorier (covering relevant docker commands, paying regtest invoices)