ethereum-unit-converter
Version:
Ethereum unit converter
100 lines (99 loc) • 3.3 kB
HTML
<html lang="en-US">
<head>
<meta charset="UTF-8">
<meta http-equiv="content-language" content="en-us">
<meta name="description" content="Ethereum unit converter">
<meta name="keywords" content="ethereum, unit, converter, tool, utility, wei, kwei, mwei, gwei, szabo, finney, ether, kether, mether, gether, tether">
<meta name="robots" content="index,follow">
<meta name="googlebot" content="index,follow">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="application-name" content="Ether Converter">
<title>Ethereum Unit Converter</title>
<style>
body {
font-size: 16px;
}
.container {
width: 800px;
padding: 2rem;
}
h1 {
font-weight: normal;
font-size: 1em;
}
label {
display: inline-block;
width: 100px;
}
input[type="text"] {
width: 200px;
}
.hex {
margin-left: 0.2rem;
}
</style>
</head>
<body>
<div class="container">
<h1>Ethereum unit converter</h1>
<div class="row">
<label>wei (10<sup>-18</sup>)</label>
<input type="text" class="wei">
<span class="hex wei"></span>
</div>
<div class="row">
<label>kwei (10<sup>-15</sup>)</label>
<input type="text" class="kwei">
<span class="hex kwei"></span>
</div>
<div class="row">
<label>mwei (10<sup>-12</sup>)</label>
<input type="text" class="mwei">
<span class="hex mwei"></span>
</div>
<div class="row">
<label>gwei (10<sup>-9</sup>)</label>
<input type="text" class="gwei">
<span class="hex gwei"></span>
</div>
<div class="row">
<label>szabo (10<sup>-6</sup>)</label>
<input type="text" class="szabo">
<span class="hex szabo"></span>
</div>
<div class="row">
<label>finney (10<sup>-3</sup>)</label>
<input type="text" class="finney">
<span class="hex finney"></span>
</div>
<div class="row">
<label>ether (1)</label>
<input type="text" class="ether" value="1">
<span class="hex ether"></span>
</div>
<div class="row">
<label>kether (10<sup>3</sup>)</label>
<input type="text" class="kether">
<span class="hex kether"></span>
</div>
<div class="row">
<label>mether (10<sup>6</sup>)</label>
<input type="text" class="mether">
<span class="hex mether"></span>
</div>
<div class="row">
<label>gether (10<sup>9</sup>)</label>
<input type="text" class="gether">
<span class="hex gether"></span>
</div>
<div class="row">
<label>tether (10<sup>12</sup>)</label>
<input type="text" class="tether">
<span class="hex tether"></span>
</div>
</div>
<a href="https://github.com/miguelmota/ethereum-unit-converter" 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="dist/bundle.js"></script>
</body>
</html>