btcpayserver/BTCPayServer/Models/StoreViewModels/WalletSetupRequest.cs
d11n 3c80621dac
Add payjoin option to hot wallet setup (#2450)
* Add payjoin option to hot wallet setup

Enables payjoin by default when creating a hot wallet and offers the user an opt-out.

Test fix

* Display PayJoin option only if it is available

* Test fixes

* Update hot wallet checks

* Test fix after rebase

* Use toggle buttons for enabling options
2021-06-18 10:25:17 +09:00

11 lines
244 B
C#

using NBXplorer.Models;
namespace BTCPayServer.Models.StoreViewModels
{
public class WalletSetupRequest : GenerateWalletRequest
{
public bool PayJoinEnabled { get; set; }
public bool CanUsePayJoin { get; set; }
}
}