mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-20 10:40:29 +01:00
23 lines
667 B
C#
23 lines
667 B
C#
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 string ReturnUrl { get; set; }
|
|
public bool IsStored { get; set; }
|
|
public bool RequireConfirm { get; set; } = true;
|
|
|
|
public string[] Words
|
|
{
|
|
get => Mnemonic.Split((char[])null, System.StringSplitOptions.RemoveEmptyEntries);
|
|
}
|
|
}
|
|
}
|