Add separate recovery seed backup view

fix
This commit is contained in:
Dennis Reimann
2020-07-15 19:51:01 +02:00
parent f6549cda33
commit cfef1f3432
8 changed files with 226 additions and 3 deletions

View File

@@ -0,0 +1,21 @@
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Microsoft.AspNetCore.Http;
using NBitcoin;
namespace BTCPayServer.Models.StoreViewModels
{
public class RecoverySeedBackupViewModel
{
public string CryptoCode { get; set; }
public string Mnemonic { get; set; }
public string Passphrase { get; set; }
public bool IsStored { get; set; }
public string ReturnUrl { get; set; }
public string[] Words
{
get => Mnemonic.Split(" ");
}
}
}