mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-19 06:54:19 +01:00
Add separate recovery seed backup view
fix
This commit is contained in:
@@ -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(" ");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user