Development
Building
# Clone with submodules
git clone --recurse-submodules https://github.com/sansbankdao/btcpay-dash-evolution
cd btcpay-dash-evolution
# Build
dotnet build Plugins/DashEvolution/BTCPayServer.Plugins.DashEvolution.csproj
Project Structure
Plugins/DashEvolution/
├── DashEvolutionPlugin.cs # Plugin entry point
├── DashEvolutionNetwork.cs # Network definition (BTCPayNetworkBase)
├── DashEvolutionPaymentMethodHandler.cs # Payment method handler
├── DashEvolutionSyncService.cs # Background sync service
├── DashEvolutionSyncOptions.cs # Configuration options
├── DashEvolutionMnemonicResolver.cs # Native mnemonic resolver
├── DashEvolutionNativeRegistration.cs # Native library loader
├── Bech32m.cs # Bech32m address encoding
├── Native/
│ ├── PlatformWalletFFI.cs # Shielded wallet P/Invoke
│ ├── PlatformWalletManagerFFI.cs # SDK/manager P/Invoke
│ └── PlatformAddressFFI.cs # Platform Address P/Invoke
└── Views/
└── DashEvolutionMethodCheckout.cshtml # Checkout UI
