ethereum-hdwallet
Version:
ethereum-hdwallet
65 lines (64 loc) • 2.08 kB
HTML
<html lang="en-US">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=yes">
<title>Ethereum HD Wallet</title>
<style>
label {
display: block;
}
input[type="text"] {
width: 100%;
}
#mnemonic {
max-width: 600px;
}
#hdpath {
max-width: 200px;
}
.rangeInput {
max-width: 50px;
}
output {
display: block;
}
table {
width: 2500px;
}
table td {
border: 1px solid black;
}
form div {
margin-bottom: 1rem;
}
</style>
</head>
<body>
<h1>Ethereum HD Wallet</h1>
<form id="form">
<div>
<label>Mnemonic</label>
<input type="text" id="mnemonic" value="tag volcano eight thank tide danger coast health above argue embrace heavy" placeholder="word1 word2 word3 wordN.." />
</div>
<div>
<label>HD Path</label>
<input type="text" id="hdpath" value="m/44'/60'/0'/0" placeholder="m/44'/60'/0'/0" />
</div>
<div>
<label>Account index range</label>
<input type="text" class="rangeInput" id="indexStart" value="0" placeholder="0" /> - <input type="text" class="rangeInput" id="indexEnd" value="10" placeholder="10" />
</div>
<div>
<button id="submit">Generate keys</button>
</div>
</form>
<div>
<output id=""output></output>
</div>
<output id="output"></output>
<a href="https://github.com/miguelmota/ethereum-hdwallet" target="_blank"><img style="position: fixed; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/38ef81f8aca64bb9a64448d0d70f1308ef5341ab/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f6461726b626c75655f3132313632312e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png"></a>
<script src="https://cdn.jsdelivr.net/npm/ethereum-hdwallet@latest/ethereum-hdwallet.js"></script>
<script src="main.js"></script>
</body>
</html>