btcpayserver/BTCPayServer/Models/WalletViewModels/SignWithSeedViewModel.cs
Andrew Camilleri eb54a18fcd Wallet & PSBT: Sign with seed or key (#840)
* Allow signing a PSBT with an extkey/wif or mnemonic seed

* reword things

* small text
2019-05-15 01:03:48 +09:00

18 lines
491 B
C#

using System.ComponentModel.DataAnnotations;
namespace BTCPayServer.Models.WalletViewModels
{
public class SignWithSeedViewModel
{
[Required]
public string PSBT { get; set; }
[Required][Display(Name = "Seed(12/24 word mnemonic seed) Or HD private key(xprv...)")]
public string SeedOrKey { get; set; }
[Display(Name = "Optional seed passphrase")]
public string Passphrase { get; set; }
public bool Send { get; set; }
}
}