Files
btcpayserver/BTCPayServer/Views/Wallets/SignWithSeed.cshtml
Andrew Camilleri eb54a18fcd Wallet & PSBT: Sign with seed or key (#840)
* Allow signing a PSBT with an extkey/wif or mnemonic seed

* reword things

* small text
2019-05-15 01:03:48 +09:00

36 lines
1.3 KiB
Plaintext

@model SignWithSeedViewModel
@{
Layout = "../Shared/_NavLayout.cshtml";
ViewData["Title"] = "Sign PSBT With an HD private key or mnemonic seed";
ViewData.SetActivePageAndTitle(Model.Send ? WalletsNavPages.Send : WalletsNavPages.PSBT);
}
<div class="row">
<div class="col-md-10">
<div asp-validation-summary="All" class="text-danger"></div>
<form method="post">
<input type="hidden" asp-for="PSBT"/>
<input type="hidden" asp-for="Send"/>
<div class="form-group">
<label asp-for="SeedOrKey"></label>
<input asp-for="SeedOrKey" class="form-control"/>
<span asp-validation-for="SeedOrKey" class="text-danger"></span>
</div>
<div class="form-group">
<label asp-for="Passphrase"></label>
<input asp-for="Passphrase" class="form-control"/>
<span asp-validation-for="Passphrase" class="text-danger"></span>
</div>
<button type="submit" class="btn btn-primary">Sign</button>
</form>
</div>
</div>
@section Scripts {
<link rel="stylesheet" href="~/vendor/highlightjs/default.min.css">
<script src="~/vendor/highlightjs/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
}