2021-02-11 11:48:54 +01:00
|
|
|
@model WalletSetupViewModel
|
|
|
|
@addTagHelper *, BundlerMinifier.TagHelpers
|
|
|
|
@{
|
|
|
|
Layout = "_LayoutWalletSetup";
|
2021-12-31 08:36:38 +01:00
|
|
|
ViewData.SetActivePage(StoreNavPages.OnchainSettings, $"Generate {Model.CryptoCode} Wallet", Context.GetStoreData().Id);
|
2021-02-11 11:48:54 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
@section Navbar {
|
2022-01-07 12:32:00 +09:00
|
|
|
<a asp-controller="UIStores" asp-action="SetupWallet" asp-route-storeId="@Model.StoreId" asp-route-cryptoCode="@Model.CryptoCode">
|
2021-02-11 11:48:54 +01:00
|
|
|
<vc:icon symbol="back" />
|
|
|
|
</a>
|
|
|
|
}
|
|
|
|
|
|
|
|
<h1 class="text-center">Choose your wallet option</h1>
|
|
|
|
|
|
|
|
<div class="list-group mt-5">
|
|
|
|
@if (Model.CanUseHotWallet)
|
|
|
|
{
|
2022-01-07 12:32:00 +09:00
|
|
|
<a asp-controller="UIStores" asp-action="GenerateWallet" asp-route-storeId="@Model.StoreId" asp-route-cryptoCode="@Model.CryptoCode" asp-route-method="hotwallet" id="GenerateHotwalletLink" class="list-group-item list-group-item-action">
|
2021-02-11 11:48:54 +01:00
|
|
|
<div class="image">
|
2021-03-03 21:29:03 +01:00
|
|
|
<vc:icon symbol="hot-wallet"/>
|
2021-02-11 11:48:54 +01:00
|
|
|
</div>
|
|
|
|
<div class="content">
|
|
|
|
<h4>Hot wallet</h4>
|
|
|
|
<p class="mb-0 text-secondary">
|
2021-03-01 12:43:25 +01:00
|
|
|
Wallet's private key is stored on the server.
|
|
|
|
Spending the funds you received is convenient.
|
|
|
|
To minimize the risk of theft, regularly withdraw funds to a different wallet.
|
2021-02-11 11:48:54 +01:00
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
<vc:icon symbol="caret-right"/>
|
|
|
|
</a>
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
2021-06-14 07:06:56 +02:00
|
|
|
<div class="list-group-item text-muted">
|
2021-02-11 11:48:54 +01:00
|
|
|
<div class="image">
|
2021-03-03 21:29:03 +01:00
|
|
|
<vc:icon symbol="hot-wallet"/>
|
2021-02-11 11:48:54 +01:00
|
|
|
</div>
|
|
|
|
<div class="content">
|
|
|
|
<h4>Hot wallet</h4>
|
|
|
|
<p class="mb-0">Please note that creating a hot wallet is not supported by this instance for non administrators.</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="list-group mt-4">
|
2022-01-07 12:32:00 +09:00
|
|
|
<a asp-controller="UIStores" asp-action="GenerateWallet" asp-route-storeId="@Model.StoreId" asp-route-cryptoCode="@Model.CryptoCode" asp-route-method="watchonly" id="GenerateWatchonlyLink" class="list-group-item list-group-item-action">
|
2021-02-11 11:48:54 +01:00
|
|
|
<div class="image">
|
2021-03-03 21:29:03 +01:00
|
|
|
<vc:icon symbol="watchonly-wallet"/>
|
2021-02-11 11:48:54 +01:00
|
|
|
</div>
|
|
|
|
<div class="content">
|
|
|
|
<h4>Watch-only wallet</h4>
|
2021-03-01 12:43:25 +01:00
|
|
|
<p class="mb-0 text-secondary">
|
|
|
|
Wallet's private key is erased from the server. Higher security.
|
|
|
|
To spend, you have to manually input the private key or import it into an external wallet.
|
|
|
|
</p>
|
2021-02-11 11:48:54 +01:00
|
|
|
</div>
|
|
|
|
<vc:icon symbol="caret-right" />
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|