-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #32 from cryptogarageinc/feature/webpack
feat: change to webpack
- Loading branch information
Showing
18 changed files
with
1,595 additions
and
3,021 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
node_modules | ||
dist | ||
.cache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,12 @@ | ||
# ledger-liquid-xpubkey-viewer | ||
|
||
## Run | ||
## build | ||
|
||
```bash | ||
yarn | ||
yarn start | ||
``` | ||
1. npm install | ||
|
||
## Operation | ||
2. npm run build | ||
|
||
# github pages | ||
|
||
- [xpubkey viewer](https://cryptogarageinc.github.io/ledger-liquid-xpubkey-viewer/dist/) | ||
|
||
1. ledger connect. (Open ledger liquid Test Hless application.) | ||
2. click connect button. (or open application) | ||
3. set authorization key. (default: test pubkey.) | ||
4. input bip32 path. | ||
5. click generate button on xpubkey. |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,104 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<title>Ledger Liquid Xpubkey Viewer</title> | ||
<style> | ||
#main { | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
justify-content: center; | ||
height: 120vh; | ||
font-family: sans-serif; | ||
} | ||
.bip32path { | ||
width: 200px; | ||
} | ||
.xpubkey { | ||
width: 500px; | ||
} | ||
#authPubkey,#authkeyResult,#connectResponse,#checkTestAuthkeyResult { | ||
width: 420px; | ||
} | ||
#authkey-input { | ||
vertical-align: middle; | ||
margin: auto; | ||
} | ||
#requestAuthkey { | ||
vertical-align: top; | ||
margin-top: 13px; | ||
} | ||
h1 { | ||
font-size: 32px; | ||
} | ||
h2 { | ||
font-size: 20px; | ||
font-weight: bold; | ||
} | ||
h3 { | ||
font-size: 16px; | ||
margin-bottom: 0px; | ||
padding-bottom: 0px; | ||
} | ||
.xpubkey-label { | ||
font-size: 12px; | ||
display: inline-block; | ||
width: 8em; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<div class="connect"> | ||
<h2 id="app-name">ConnectApp: -</h2> | ||
<div class="connect-status"> | ||
<input type="button" id="connect" value="connect" /> | ||
<input type="text" id="connectResponse" value="disconnect" readonly /> | ||
</div> | ||
</div> | ||
<hr/> | ||
<div class="xpub"> | ||
<h3 class="xpub-title">xpubkey</h3> | ||
<div class="xpub-input"> | ||
<div> | ||
<div class="xpubkey-label">LBTC xpub key</div> | ||
<input type="text" class="bip32path" id="lbtcBip32path" value="m/44h/1776h/0h" /> | ||
<input type="button" id="requestLbtcXpubkey" value="generate" /> | ||
</div> | ||
<div class="xpub-output"> | ||
<textarea rows="2" id="lbtcXpubkey" class="xpubkey" readonly></textarea> | ||
</div> | ||
<div> | ||
<div class="xpubkey-label">JPYS xpub key</div> | ||
<input type="text" class="bip32path" id="jpysBip32path" value="m/44h/1784h/0h" /> | ||
<input type="button" id="requestJpysXpubkey" value="generate" /> | ||
</div> | ||
<div class="xpub-output"> | ||
<textarea rows="2" id="jpysXpubkey" class="xpubkey" readonly></textarea> | ||
</div> | ||
</div> | ||
</div> | ||
<hr/> | ||
<div class="authkey"> | ||
<h3 class="authkey-title">set authorization pubkey</h3> | ||
<div class="authkey-input"> | ||
<textarea rows="3" id="authPubkey"></textarea> | ||
<input type="button" id="requestAuthkey" value="request" /> | ||
</div> | ||
<div class="authkey-output"> | ||
<input type="text" id="authkeyResult" value="" readonly /> | ||
</div> | ||
</div> | ||
|
||
<hr/> | ||
<div class="checkAuthkey"> | ||
<h3 class="authkey-title">check testing authorization pubkey</h3> | ||
<div class="authkey-input"> | ||
<input type="text" id="checkTestAuthkeyResult" value="" readonly /> | ||
<input type="button" id="requestCheckTestAuthkey" value="request" /> | ||
</div> | ||
</div> | ||
|
||
<script src="./main.js"></script> | ||
</body> | ||
</html> |
Oops, something went wrong.