mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-20 10:40:29 +01:00
4176f3659b
* Add PSBT QR code scan/show This PR introduces support to show and read PSBTs in BC-UR format via animated QR codes. This allows you to use BTCPay with HW devices such as Cobo Vault and Blue wallet to sign transactions without ever exposing the keys outside of that device. Spec: https://github.com/BlockchainCommons/Research/blob/master/papers/bcr-2020-005-ur.md I've also bumped the QR code library we sue as it had a bug with large datasets. * Reuse same code for all and allow wallet import via QR code scan * remove unecessary js vendor files * Allow export wallet from settings via QR * formatting * bundle * fix wallet receive bundle
21 lines
961 B
Plaintext
21 lines
961 B
Plaintext
@model (string CryptoCode, bool NBXSeedAvailable)
|
|
|
|
|
|
<div class="dropdown">
|
|
<button class="btn btn-primary dropdown-toggle" type="button" id="SendMenu" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
|
Sign with...
|
|
</button>
|
|
<div class="dropdown-menu" aria-labelledby="SendMenu">
|
|
@if (Model.CryptoCode == "BTC")
|
|
{
|
|
<button name="command" type="submit" class="dropdown-item" value="vault">... a hardware wallet</button>
|
|
}
|
|
<button name="command" type="submit" class="dropdown-item" value="seed">... an HD private key or mnemonic seed</button>
|
|
<button name="command" type="submit" class="dropdown-item" value="analyze-psbt">... a wallet supporting PSBT</button>
|
|
@if (Model.NBXSeedAvailable)
|
|
{
|
|
<button id="spendWithNBxplorer" name="command" type="submit" class="dropdown-item" value="nbx-seed">... the hot wallet</button>
|
|
}
|
|
</div>
|
|
</div>
|