Sansbank Sansbank Dev Docs ← Back to Dev Center

Installation

Prerequisites

  1. BTCPay Server 2.3.7 or later
  2. The native library libplatform_wallet_ffi.so (Linux) or platform_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

  1. Build the plugin:

    dotnet build Plugins/DashEvolution/BTCPayServer.Plugins.DashEvolution.csproj -c Release
  2. Copy the output to your BTCPay Server plugins directory

  3. 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"
  4. Restart BTCPay Server

plugin built successfully (dotnet build -c Release)