2021-02-11 11:48:54 +01:00
|
|
|
@model WalletSetupViewModel
|
|
|
|
@addTagHelper *, BundlerMinifier.TagHelpers
|
|
|
|
@{
|
|
|
|
var isHotWallet = Model.Method == WalletSetupMethod.HotWallet;
|
|
|
|
var type = isHotWallet ? "Hot" : "Watch-Only";
|
|
|
|
Layout = "_LayoutWalletSetup";
|
2021-04-08 15:32:42 +02:00
|
|
|
ViewData.SetActivePageAndTitle(StoreNavPages.Wallet, $"Create {Model.CryptoCode} {type} Wallet", Context.GetStoreData().StoreName);
|
2021-02-11 11:48:54 +01:00
|
|
|
ViewData.Add(nameof(Model.CanUseHotWallet), Model.CanUseHotWallet);
|
|
|
|
ViewData.Add(nameof(Model.CanUseRPCImport), Model.CanUseRPCImport);
|
2021-09-03 12:07:12 +05:30
|
|
|
ViewData.Add(nameof(Model.CanUseTaproot), Model.CanUseTaproot);
|
2021-02-11 11:48:54 +01:00
|
|
|
ViewData.Add(nameof(Model.Method), Model.Method);
|
|
|
|
}
|
|
|
|
|
|
|
|
@section Navbar {
|
|
|
|
<a asp-controller="Stores" asp-action="GenerateWallet" asp-route-storeId="@Model.StoreId" asp-route-cryptoCode="@Model.CryptoCode" asp-route-method="">
|
|
|
|
<vc:icon symbol="back" />
|
|
|
|
</a>
|
|
|
|
}
|
|
|
|
|
|
|
|
<h1 class="text-center">@ViewData["Title"]</h1>
|
|
|
|
<br>
|
2021-04-08 15:32:42 +02:00
|
|
|
<partial name="_GenerateWalletForm" model="Model.SetupRequest" />
|
2021-02-11 11:48:54 +01:00
|
|
|
|
2021-05-19 04:39:27 +02:00
|
|
|
@section PageFootContent {
|
2021-04-08 15:32:42 +02:00
|
|
|
<partial name="_ValidationScriptsPartial" />
|
2021-02-11 11:48:54 +01:00
|
|
|
}
|