Skip to content

Commit

Permalink
wallet-import: add public key to custom derivation
Browse files Browse the repository at this point in the history
  • Loading branch information
guggero committed Dec 18, 2024
1 parent 0e7636a commit 505aeb8
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
10 changes: 10 additions & 0 deletions libs/templates.js
Original file line number Diff line number Diff line change
Expand Up @@ -3007,6 +3007,16 @@ angular.module('app').run(['$templateCache', function($templateCache) {
" </div>\n" +
" </div>\n" +
"\n" +
" <!-- derived public key -->\n" +
" <div class=\"form-group\">\n" +
" <label class=\"col-sm-3 control-label\">Public key:</label>\n" +
" <div class=\"col-sm-9 input-group\">\n" +
" <input class=\"form-control\"\n" +
" value=\"{{vm.customDerivedKey.publicKey.toString('hex')}}\"\n" +
" ng-readonly=\"true\">\n" +
" </div>\n" +
" </div>\n" +
"\n" +
" <!-- priv key WIF -->\n" +
" <div class=\"form-group\">\n" +
" <label class=\"col-sm-3 control-label\">Private key (WIF, compressed):</label>\n" +
Expand Down
10 changes: 10 additions & 0 deletions pages/hd-wallet/hd-wallet.html
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,16 @@ <h4>Custom BIP32 key derivation</h4>
</div>
</div>

<!-- derived public key -->
<div class="form-group">
<label class="col-sm-3 control-label">Public key:</label>
<div class="col-sm-9 input-group">
<input class="form-control"
value="{{vm.customDerivedKey.publicKey.toString('hex')}}"
ng-readonly="true">
</div>
</div>

<!-- priv key WIF -->
<div class="form-group">
<label class="col-sm-3 control-label">Private key (WIF, compressed):</label>
Expand Down

0 comments on commit 505aeb8

Please sign in to comment.