Installation
Prerequisites
- BTCPay Server 2.3.7 or later
- The native library
libplatform_wallet_ffi.so(Linux) orplatform_wallet_ffi.dll(Windows)
Native Library Setup
The plugin requires the platform-wallet-ffi native library. You can either:
Option A: Build from source (recommended for development)
git clone https://github.com/dashpay/platform
cd platform
cargo build --release --features shielded -p platform-wallet-ffi
# Set the environment variable:
export DASHE_NATIVE_LIB=/path/to/platform/target/release/libplatform_wallet_ffi.so
Option B: Download pre-built binary (when available)
# Place in the plugin's runtimes/<rid>/native/ directory
mkdir -p Plugins/DashEvolution/runtimes/linux-x64/native/
# Download libplatform_wallet_ffi.so to that directory
Plugin Installation
-
Build the plugin:
dotnet build Plugins/DashEvolution/BTCPayServer.Plugins.DashEvolution.csproj -c Release -
Copy the output to your BTCPay Server plugins directory
-
Configure the plugin via environment variables:
export DashEvolution__WalletIdHex="your-64-char-hex-wallet-id" export DashEvolution__Mnemonic="your 24 word mnemonic phrase" export DashEvolution__DapiAddresses="https://45.135.180.70:443" export DashEvolution__Mainnet="true" export DashEvolution__SyncIntervalSeconds="15" -
Restart BTCPay Server
