@using NBitcoin @model WalletSetupRequest @{ var method = ViewData["Method"]; var isImport = method is WalletSetupMethod.Seed; var isHotWallet = method is WalletSetupMethod.HotWallet; var canUseHotWallet = ViewData["CanUseHotWallet"] is true; var canUseRpcImport = ViewData["CanUseRPCImport"] is true; } @if (!User.IsInRole(Roles.ServerAdmin)) {
You are not an admin on this server. While you are able to import or generate a wallet via seed with your account, please understand that you are trusting the server admins not just with your privacy but also with trivial access to your funds. If you NEED to use this feature, please reconsider hosting your own BTCPay Server instance.
}
@if (isImport) {
}
@if (isImport && canUseHotWallet) {
} else { @if (Model.CanUsePayJoin) {
} }
@if (isImport) // hide account option when creating a wallet {
}
@if (canUseRpcImport) {
}