├── .gitignore ├── .gitmodules ├── BTCNutServer.sln ├── BTCPayserver.Plugins.Cashu.Tests ├── BTCPayserver.Plugins.Cashu.Tests.csproj ├── CashuUtilsTests.cs ├── CashuWalletTests.cs └── keys.json ├── ConfigBuilder ├── ConfigBuilder.csproj ├── Dockerfile └── Program.cs ├── Plugin └── BTCPayServer.Plugins.Cashu │ ├── BTCPayServer.Plugins.Cashu.csproj │ ├── CashuAbstractions │ ├── CashuUtils.cs │ └── CashuWallet.cs │ ├── CashuPlugin.cs │ ├── Controllers │ └── CashuControler.cs │ ├── Data │ ├── CashuDbContext.cs │ ├── CashuDbContextFactory.cs │ ├── DesignTimeDbContextFactory.cs │ ├── Enums │ │ ├── CashuPaymentState.cs │ │ ├── PaymentModels.cs │ │ └── WalletAction.cs │ ├── MigrationRunner.cs │ ├── Migrations │ │ ├── 20250510192511_init.Designer.cs │ │ ├── 20250510192511_init.cs │ │ ├── 20250522084625_FailedTransaction.Designer.cs │ │ ├── 20250522084625_FailedTransaction.cs │ │ └── CashuDbContextModelSnapshot.cs │ └── Models │ │ ├── ExportedToken.cs │ │ ├── FailedTransaction.cs │ │ ├── Mint.cs │ │ ├── MintKeys.cs │ │ └── StoredProof.cs │ ├── Errors │ ├── CashuPaymentException.cs │ ├── CashuPluginException.cs │ └── MintUnavaibleError.cs │ ├── PaymentHandlers │ ├── CashuCheckoutModelExtension.cs │ ├── CashuPaymentMethodConfig.cs │ ├── CashuPaymentMethodHandler.cs │ ├── CashuPaymentService.cs │ ├── CashuStatusProvider.cs │ └── CashuTransactionLinkProvider.cs │ ├── Resources │ ├── cashu.svg │ └── js │ │ ├── AnimatedToken.js │ │ ├── bundle.js │ │ ├── package.json │ │ ├── webpack.config.mjs │ │ └── yarn.lock │ ├── ViewModels │ ├── CashuStoreViewModel.cs │ ├── CashuWalletViewModel.cs │ └── ExportTokenViewModel.cs │ └── Views │ ├── Cashu │ ├── CashuWallet.cshtml │ ├── ExportedToken.cshtml │ ├── FailedTransactions.cshtml │ └── StoreConfig.cshtml │ ├── Shared │ ├── CashuCheckout.cshtml │ └── CashuStoreNav.cshtml │ └── _ViewImports.cshtml ├── README.md └── Screenshots ├── Checkout.png ├── Configuration.png ├── PaymentModels.png └── Wallet.png /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d4rp4t/BTCNutServer/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d4rp4t/BTCNutServer/HEAD/.gitmodules -------------------------------------------------------------------------------- /BTCNutServer.sln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d4rp4t/BTCNutServer/HEAD/BTCNutServer.sln -------------------------------------------------------------------------------- /BTCPayserver.Plugins.Cashu.Tests/BTCPayserver.Plugins.Cashu.Tests.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d4rp4t/BTCNutServer/HEAD/BTCPayserver.Plugins.Cashu.Tests/BTCPayserver.Plugins.Cashu.Tests.csproj -------------------------------------------------------------------------------- /BTCPayserver.Plugins.Cashu.Tests/CashuUtilsTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d4rp4t/BTCNutServer/HEAD/BTCPayserver.Plugins.Cashu.Tests/CashuUtilsTests.cs -------------------------------------------------------------------------------- /BTCPayserver.Plugins.Cashu.Tests/CashuWalletTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d4rp4t/BTCNutServer/HEAD/BTCPayserver.Plugins.Cashu.Tests/CashuWalletTests.cs -------------------------------------------------------------------------------- /BTCPayserver.Plugins.Cashu.Tests/keys.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d4rp4t/BTCNutServer/HEAD/BTCPayserver.Plugins.Cashu.Tests/keys.json -------------------------------------------------------------------------------- /ConfigBuilder/ConfigBuilder.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d4rp4t/BTCNutServer/HEAD/ConfigBuilder/ConfigBuilder.csproj -------------------------------------------------------------------------------- /ConfigBuilder/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d4rp4t/BTCNutServer/HEAD/ConfigBuilder/Dockerfile -------------------------------------------------------------------------------- /ConfigBuilder/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d4rp4t/BTCNutServer/HEAD/ConfigBuilder/Program.cs -------------------------------------------------------------------------------- /Plugin/BTCPayServer.Plugins.Cashu/BTCPayServer.Plugins.Cashu.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d4rp4t/BTCNutServer/HEAD/Plugin/BTCPayServer.Plugins.Cashu/BTCPayServer.Plugins.Cashu.csproj -------------------------------------------------------------------------------- /Plugin/BTCPayServer.Plugins.Cashu/CashuAbstractions/CashuUtils.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d4rp4t/BTCNutServer/HEAD/Plugin/BTCPayServer.Plugins.Cashu/CashuAbstractions/CashuUtils.cs -------------------------------------------------------------------------------- /Plugin/BTCPayServer.Plugins.Cashu/CashuAbstractions/CashuWallet.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d4rp4t/BTCNutServer/HEAD/Plugin/BTCPayServer.Plugins.Cashu/CashuAbstractions/CashuWallet.cs -------------------------------------------------------------------------------- /Plugin/BTCPayServer.Plugins.Cashu/CashuPlugin.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d4rp4t/BTCNutServer/HEAD/Plugin/BTCPayServer.Plugins.Cashu/CashuPlugin.cs -------------------------------------------------------------------------------- /Plugin/BTCPayServer.Plugins.Cashu/Controllers/CashuControler.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d4rp4t/BTCNutServer/HEAD/Plugin/BTCPayServer.Plugins.Cashu/Controllers/CashuControler.cs -------------------------------------------------------------------------------- /Plugin/BTCPayServer.Plugins.Cashu/Data/CashuDbContext.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d4rp4t/BTCNutServer/HEAD/Plugin/BTCPayServer.Plugins.Cashu/Data/CashuDbContext.cs -------------------------------------------------------------------------------- /Plugin/BTCPayServer.Plugins.Cashu/Data/CashuDbContextFactory.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d4rp4t/BTCNutServer/HEAD/Plugin/BTCPayServer.Plugins.Cashu/Data/CashuDbContextFactory.cs -------------------------------------------------------------------------------- /Plugin/BTCPayServer.Plugins.Cashu/Data/DesignTimeDbContextFactory.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d4rp4t/BTCNutServer/HEAD/Plugin/BTCPayServer.Plugins.Cashu/Data/DesignTimeDbContextFactory.cs -------------------------------------------------------------------------------- /Plugin/BTCPayServer.Plugins.Cashu/Data/Enums/CashuPaymentState.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d4rp4t/BTCNutServer/HEAD/Plugin/BTCPayServer.Plugins.Cashu/Data/Enums/CashuPaymentState.cs -------------------------------------------------------------------------------- /Plugin/BTCPayServer.Plugins.Cashu/Data/Enums/PaymentModels.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d4rp4t/BTCNutServer/HEAD/Plugin/BTCPayServer.Plugins.Cashu/Data/Enums/PaymentModels.cs -------------------------------------------------------------------------------- /Plugin/BTCPayServer.Plugins.Cashu/Data/Enums/WalletAction.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d4rp4t/BTCNutServer/HEAD/Plugin/BTCPayServer.Plugins.Cashu/Data/Enums/WalletAction.cs -------------------------------------------------------------------------------- /Plugin/BTCPayServer.Plugins.Cashu/Data/MigrationRunner.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d4rp4t/BTCNutServer/HEAD/Plugin/BTCPayServer.Plugins.Cashu/Data/MigrationRunner.cs -------------------------------------------------------------------------------- /Plugin/BTCPayServer.Plugins.Cashu/Data/Migrations/20250510192511_init.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d4rp4t/BTCNutServer/HEAD/Plugin/BTCPayServer.Plugins.Cashu/Data/Migrations/20250510192511_init.Designer.cs -------------------------------------------------------------------------------- /Plugin/BTCPayServer.Plugins.Cashu/Data/Migrations/20250510192511_init.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d4rp4t/BTCNutServer/HEAD/Plugin/BTCPayServer.Plugins.Cashu/Data/Migrations/20250510192511_init.cs -------------------------------------------------------------------------------- /Plugin/BTCPayServer.Plugins.Cashu/Data/Migrations/20250522084625_FailedTransaction.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d4rp4t/BTCNutServer/HEAD/Plugin/BTCPayServer.Plugins.Cashu/Data/Migrations/20250522084625_FailedTransaction.Designer.cs -------------------------------------------------------------------------------- /Plugin/BTCPayServer.Plugins.Cashu/Data/Migrations/20250522084625_FailedTransaction.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d4rp4t/BTCNutServer/HEAD/Plugin/BTCPayServer.Plugins.Cashu/Data/Migrations/20250522084625_FailedTransaction.cs -------------------------------------------------------------------------------- /Plugin/BTCPayServer.Plugins.Cashu/Data/Migrations/CashuDbContextModelSnapshot.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d4rp4t/BTCNutServer/HEAD/Plugin/BTCPayServer.Plugins.Cashu/Data/Migrations/CashuDbContextModelSnapshot.cs -------------------------------------------------------------------------------- /Plugin/BTCPayServer.Plugins.Cashu/Data/Models/ExportedToken.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d4rp4t/BTCNutServer/HEAD/Plugin/BTCPayServer.Plugins.Cashu/Data/Models/ExportedToken.cs -------------------------------------------------------------------------------- /Plugin/BTCPayServer.Plugins.Cashu/Data/Models/FailedTransaction.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d4rp4t/BTCNutServer/HEAD/Plugin/BTCPayServer.Plugins.Cashu/Data/Models/FailedTransaction.cs -------------------------------------------------------------------------------- /Plugin/BTCPayServer.Plugins.Cashu/Data/Models/Mint.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d4rp4t/BTCNutServer/HEAD/Plugin/BTCPayServer.Plugins.Cashu/Data/Models/Mint.cs -------------------------------------------------------------------------------- /Plugin/BTCPayServer.Plugins.Cashu/Data/Models/MintKeys.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d4rp4t/BTCNutServer/HEAD/Plugin/BTCPayServer.Plugins.Cashu/Data/Models/MintKeys.cs -------------------------------------------------------------------------------- /Plugin/BTCPayServer.Plugins.Cashu/Data/Models/StoredProof.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d4rp4t/BTCNutServer/HEAD/Plugin/BTCPayServer.Plugins.Cashu/Data/Models/StoredProof.cs -------------------------------------------------------------------------------- /Plugin/BTCPayServer.Plugins.Cashu/Errors/CashuPaymentException.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d4rp4t/BTCNutServer/HEAD/Plugin/BTCPayServer.Plugins.Cashu/Errors/CashuPaymentException.cs -------------------------------------------------------------------------------- /Plugin/BTCPayServer.Plugins.Cashu/Errors/CashuPluginException.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d4rp4t/BTCNutServer/HEAD/Plugin/BTCPayServer.Plugins.Cashu/Errors/CashuPluginException.cs -------------------------------------------------------------------------------- /Plugin/BTCPayServer.Plugins.Cashu/Errors/MintUnavaibleError.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d4rp4t/BTCNutServer/HEAD/Plugin/BTCPayServer.Plugins.Cashu/Errors/MintUnavaibleError.cs -------------------------------------------------------------------------------- /Plugin/BTCPayServer.Plugins.Cashu/PaymentHandlers/CashuCheckoutModelExtension.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d4rp4t/BTCNutServer/HEAD/Plugin/BTCPayServer.Plugins.Cashu/PaymentHandlers/CashuCheckoutModelExtension.cs -------------------------------------------------------------------------------- /Plugin/BTCPayServer.Plugins.Cashu/PaymentHandlers/CashuPaymentMethodConfig.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d4rp4t/BTCNutServer/HEAD/Plugin/BTCPayServer.Plugins.Cashu/PaymentHandlers/CashuPaymentMethodConfig.cs -------------------------------------------------------------------------------- /Plugin/BTCPayServer.Plugins.Cashu/PaymentHandlers/CashuPaymentMethodHandler.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d4rp4t/BTCNutServer/HEAD/Plugin/BTCPayServer.Plugins.Cashu/PaymentHandlers/CashuPaymentMethodHandler.cs -------------------------------------------------------------------------------- /Plugin/BTCPayServer.Plugins.Cashu/PaymentHandlers/CashuPaymentService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d4rp4t/BTCNutServer/HEAD/Plugin/BTCPayServer.Plugins.Cashu/PaymentHandlers/CashuPaymentService.cs -------------------------------------------------------------------------------- /Plugin/BTCPayServer.Plugins.Cashu/PaymentHandlers/CashuStatusProvider.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d4rp4t/BTCNutServer/HEAD/Plugin/BTCPayServer.Plugins.Cashu/PaymentHandlers/CashuStatusProvider.cs -------------------------------------------------------------------------------- /Plugin/BTCPayServer.Plugins.Cashu/PaymentHandlers/CashuTransactionLinkProvider.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d4rp4t/BTCNutServer/HEAD/Plugin/BTCPayServer.Plugins.Cashu/PaymentHandlers/CashuTransactionLinkProvider.cs -------------------------------------------------------------------------------- /Plugin/BTCPayServer.Plugins.Cashu/Resources/cashu.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d4rp4t/BTCNutServer/HEAD/Plugin/BTCPayServer.Plugins.Cashu/Resources/cashu.svg -------------------------------------------------------------------------------- /Plugin/BTCPayServer.Plugins.Cashu/Resources/js/AnimatedToken.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d4rp4t/BTCNutServer/HEAD/Plugin/BTCPayServer.Plugins.Cashu/Resources/js/AnimatedToken.js -------------------------------------------------------------------------------- /Plugin/BTCPayServer.Plugins.Cashu/Resources/js/bundle.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d4rp4t/BTCNutServer/HEAD/Plugin/BTCPayServer.Plugins.Cashu/Resources/js/bundle.js -------------------------------------------------------------------------------- /Plugin/BTCPayServer.Plugins.Cashu/Resources/js/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d4rp4t/BTCNutServer/HEAD/Plugin/BTCPayServer.Plugins.Cashu/Resources/js/package.json -------------------------------------------------------------------------------- /Plugin/BTCPayServer.Plugins.Cashu/Resources/js/webpack.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d4rp4t/BTCNutServer/HEAD/Plugin/BTCPayServer.Plugins.Cashu/Resources/js/webpack.config.mjs -------------------------------------------------------------------------------- /Plugin/BTCPayServer.Plugins.Cashu/Resources/js/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d4rp4t/BTCNutServer/HEAD/Plugin/BTCPayServer.Plugins.Cashu/Resources/js/yarn.lock -------------------------------------------------------------------------------- /Plugin/BTCPayServer.Plugins.Cashu/ViewModels/CashuStoreViewModel.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d4rp4t/BTCNutServer/HEAD/Plugin/BTCPayServer.Plugins.Cashu/ViewModels/CashuStoreViewModel.cs -------------------------------------------------------------------------------- /Plugin/BTCPayServer.Plugins.Cashu/ViewModels/CashuWalletViewModel.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d4rp4t/BTCNutServer/HEAD/Plugin/BTCPayServer.Plugins.Cashu/ViewModels/CashuWalletViewModel.cs -------------------------------------------------------------------------------- /Plugin/BTCPayServer.Plugins.Cashu/ViewModels/ExportTokenViewModel.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d4rp4t/BTCNutServer/HEAD/Plugin/BTCPayServer.Plugins.Cashu/ViewModels/ExportTokenViewModel.cs -------------------------------------------------------------------------------- /Plugin/BTCPayServer.Plugins.Cashu/Views/Cashu/CashuWallet.cshtml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d4rp4t/BTCNutServer/HEAD/Plugin/BTCPayServer.Plugins.Cashu/Views/Cashu/CashuWallet.cshtml -------------------------------------------------------------------------------- /Plugin/BTCPayServer.Plugins.Cashu/Views/Cashu/ExportedToken.cshtml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d4rp4t/BTCNutServer/HEAD/Plugin/BTCPayServer.Plugins.Cashu/Views/Cashu/ExportedToken.cshtml -------------------------------------------------------------------------------- /Plugin/BTCPayServer.Plugins.Cashu/Views/Cashu/FailedTransactions.cshtml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d4rp4t/BTCNutServer/HEAD/Plugin/BTCPayServer.Plugins.Cashu/Views/Cashu/FailedTransactions.cshtml -------------------------------------------------------------------------------- /Plugin/BTCPayServer.Plugins.Cashu/Views/Cashu/StoreConfig.cshtml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d4rp4t/BTCNutServer/HEAD/Plugin/BTCPayServer.Plugins.Cashu/Views/Cashu/StoreConfig.cshtml -------------------------------------------------------------------------------- /Plugin/BTCPayServer.Plugins.Cashu/Views/Shared/CashuCheckout.cshtml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d4rp4t/BTCNutServer/HEAD/Plugin/BTCPayServer.Plugins.Cashu/Views/Shared/CashuCheckout.cshtml -------------------------------------------------------------------------------- /Plugin/BTCPayServer.Plugins.Cashu/Views/Shared/CashuStoreNav.cshtml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d4rp4t/BTCNutServer/HEAD/Plugin/BTCPayServer.Plugins.Cashu/Views/Shared/CashuStoreNav.cshtml -------------------------------------------------------------------------------- /Plugin/BTCPayServer.Plugins.Cashu/Views/_ViewImports.cshtml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d4rp4t/BTCNutServer/HEAD/Plugin/BTCPayServer.Plugins.Cashu/Views/_ViewImports.cshtml -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d4rp4t/BTCNutServer/HEAD/README.md -------------------------------------------------------------------------------- /Screenshots/Checkout.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d4rp4t/BTCNutServer/HEAD/Screenshots/Checkout.png -------------------------------------------------------------------------------- /Screenshots/Configuration.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d4rp4t/BTCNutServer/HEAD/Screenshots/Configuration.png -------------------------------------------------------------------------------- /Screenshots/PaymentModels.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d4rp4t/BTCNutServer/HEAD/Screenshots/PaymentModels.png -------------------------------------------------------------------------------- /Screenshots/Wallet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d4rp4t/BTCNutServer/HEAD/Screenshots/Wallet.png --------------------------------------------------------------------------------