mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-19 06:54:19 +01:00
Add some notice in sign with seed
This commit is contained in:
@@ -9,7 +9,7 @@ namespace BTCPayServer.Models.WalletViewModels
|
|||||||
{
|
{
|
||||||
[Required]
|
[Required]
|
||||||
public string PSBT { get; set; }
|
public string PSBT { get; set; }
|
||||||
[Required][Display(Name = "Seed(12/24 word mnemonic seed) Or HD private key(xprv...)")]
|
[Required][Display(Name = "BIP39 Seed (12/24 word mnemonic phrase) or HD private key (xprv...)")]
|
||||||
public string SeedOrKey { get; set; }
|
public string SeedOrKey { get; set; }
|
||||||
|
|
||||||
[Display(Name = "Optional seed passphrase")]
|
[Display(Name = "Optional seed passphrase")]
|
||||||
|
|||||||
@@ -1,15 +1,32 @@
|
|||||||
@model SignWithSeedViewModel
|
@model SignWithSeedViewModel
|
||||||
@{
|
@{
|
||||||
Layout = "../Shared/_NavLayout.cshtml";
|
Layout = "../Shared/_NavLayout.cshtml";
|
||||||
ViewData["Title"] = "Sign PSBT With an HD private key or mnemonic seed";
|
ViewData["Title"] = "Sign PSBT with an HD private key or mnemonic seed";
|
||||||
ViewData.SetActivePageAndTitle(WalletsNavPages.Send);
|
ViewData.SetActivePageAndTitle(WalletsNavPages.Send);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
<h4>Sign PSBT with an HD private key or mnemonic seed</h4>
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-10">
|
||||||
|
<div class="alert alert-warning alert-dismissible" role="alert">
|
||||||
|
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button>
|
||||||
|
<p>
|
||||||
|
<span>Before you proceed, please understand the following:</span>
|
||||||
|
</p>
|
||||||
|
<ol>
|
||||||
|
<li>Make sure this BTCPay Server instance <b>belongs to you</b>.</li>
|
||||||
|
<li>Use <b>Chrome's Incognito mode or the Tor Browser</b>, this make sure no malicious browser plugin is running that could steal your key.</li>
|
||||||
|
</ol>
|
||||||
|
<p>
|
||||||
|
<span>Else, you are exposing yourself to malicious site owner, or to malicious plugin installed in your browser.</span>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-10">
|
<div class="col-md-10">
|
||||||
<div asp-validation-summary="All" class="text-danger"></div>
|
<div asp-validation-summary="All" class="text-danger"></div>
|
||||||
<form method="post" asp-action="SignWithSeed">
|
<form method="post" asp-action="SignWithSeed">
|
||||||
|
|
||||||
<input type="hidden" asp-for="PSBT" />
|
<input type="hidden" asp-for="PSBT" />
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label asp-for="SeedOrKey"></label>
|
<label asp-for="SeedOrKey"></label>
|
||||||
|
|||||||
Reference in New Issue
Block a user