mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-24 22:58:28 +01:00
* Support taproot for HotWallet * Support taproot for hardware wallets * Fix NBX version * Undo formatting * Do not show Taproot when not supported * Create taproot wallet from xpub * Bug Fix
26 lines
1 KiB
Text
26 lines
1 KiB
Text
@model WalletSetupViewModel
|
|
@addTagHelper *, BundlerMinifier.TagHelpers
|
|
@{
|
|
var isHotWallet = Model.Method == WalletSetupMethod.HotWallet;
|
|
var type = isHotWallet ? "Hot" : "Watch-Only";
|
|
Layout = "_LayoutWalletSetup";
|
|
ViewData.SetActivePageAndTitle(StoreNavPages.Wallet, $"Create {Model.CryptoCode} {type} Wallet", Context.GetStoreData().StoreName);
|
|
ViewData.Add(nameof(Model.CanUseHotWallet), Model.CanUseHotWallet);
|
|
ViewData.Add(nameof(Model.CanUseRPCImport), Model.CanUseRPCImport);
|
|
ViewData.Add(nameof(Model.CanUseTaproot), Model.CanUseTaproot);
|
|
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>
|
|
<partial name="_GenerateWalletForm" model="Model.SetupRequest" />
|
|
|
|
@section PageFootContent {
|
|
<partial name="_ValidationScriptsPartial" />
|
|
}
|