๐งช Regtest Setup โ
This page describes how to setup a regtest environment for plugin development.
Regtest Setup Guide โ
First, set up Boltz Regtest. Run export COMPOSE_PROFILES=btcpay,default before starting Boltz Regtest (or add it to your .bashrc or .zshrc) in order to initialize it with the BTCPay profile.
Install the .NET SDK v8 (necessary to build the Plugin).
Then clone this repository and build the Plugin:
bash
git clone https://github.com/BoltzExchange/boltz-btcpay-plugin --recurse-submodules
cd boltz-btcpay-plugin/
ln --symbolic ~/path/to/regtest
make devYou can also run the latest version of Boltz Client manually.
bash
git clone https://github.com/BoltzExchange/boltz-client
cd boltz-client
make
cp ./boltzd ./boltzcli ~/.btcpayserver/RegTest/LocalStorage/Boltz/bin/linux_amd64/