mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-19 06:54:19 +01:00
Multisig/watchonly wallet transaction creation flow proof of concept (#5743)
This commit is contained in:
@@ -25,10 +25,21 @@ namespace BTCPayServer.Models.StoreViewModels
|
||||
public string SelectedSigningKey { get; set; }
|
||||
public bool IsMultiSig => AccountKeys.Count > 1;
|
||||
|
||||
public List<WalletSettingsAccountKeyViewModel> AccountKeys { get; set; } = new List<WalletSettingsAccountKeyViewModel>();
|
||||
public List<WalletSettingsAccountKeyViewModel> AccountKeys { get; set; } = new();
|
||||
public bool NBXSeedAvailable { get; set; }
|
||||
public string StoreName { get; set; }
|
||||
public string UriScheme { get; set; }
|
||||
|
||||
#region MultiSig related settings
|
||||
public bool CanSetupMultiSig { get; set; }
|
||||
[Display(Name = "Is MultiSig on Server")]
|
||||
public bool IsMultiSigOnServer { get; set; }
|
||||
|
||||
// some hardware devices like Jade require sending full input transactions if there are multiple inputs
|
||||
// https://github.com/Blockstream/Jade/blob/0d6ce77bf23ef2b5dc43cdae3967b4207e8cad52/main/process/sign_tx.c#L586
|
||||
[Display(Name = "Default Include NonWitness Utxo in PSBTs")]
|
||||
public bool DefaultIncludeNonWitnessUtxo { get; set; }
|
||||
#endregion
|
||||
}
|
||||
|
||||
public class WalletSettingsAccountKeyViewModel
|
||||
|
||||
Reference in New Issue
Block a user