vanity-eth/index.html
2018-01-16 08:32:34 +01:00

144 lines
No EOL
7.5 KiB
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta name="google-site-verification" content="AP7ip-eAPj3abUpEkg2_RJsN3o-kUWd83TwIrxfyDCQ" />
<title>Vanity ETH</title>
<link rel="icon" type="image/png" href="images/favicon.png" />
<!--CSS-->
<link rel="stylesheet" href="dist/bootstrap.min.css"/>
<link href="css/stylesheet.css" rel="stylesheet" type="text/css" media="all"/>
</head>
<body>
<div class="container" id="app">
<div class="header text-center">
<h1>VANITY-ETH</h1>
<p>Vanity ETH address generator</p>
</div>
<div class="row">
<div class="col-md-12">
<div class="panel description">
<p>
Vanity-ETH is a browser-based tool to generate vanity Ethereum addresses.
</p>
<h4>Usage</h4>
<p>
Enter the prefix of your choice below, then click 'generate' to start.<br>
Ethereum addresses are hexadecimal, which means your prefix can only contain numbers and letters
from A to F.<br>
You can increase the number of threads allocated to address generation to be faster, or decrease it
if you computer struggles.<br>
</p>
<h4>How it works</h4>
<p>
You browser is going to generate a ton of random addresses until one of them starts with your prefix.<br>
Everything is computed by your browser, so you should notice a better speed on a powerful
computer.<br>
</p>
<h4>Security</h4>
<p>
As explained above, everything is computed in your browser. Nothing ever leaves your machine, or
even your browser tab.<br>
You can download the latest build of Vantiy-ETH from
<a href="https://github.com/bokub/vanity-eth/wiki/download-Vanity-ETH">Github</a> and use it
completely offline.<br>
Vanity-ETH uses a cryptographically secure pseudorandom number generator (CSPRNG) to generate
Ethereum addresses.
</p>
</div>
</div>
</div>
<div v-if="error" class="row" v-cloak>
<div class="col-md-12">
<div class="panel error">
<p v-if="error === 'local_workers_forbidden'">
Your browser disallows multi-thread computation when run from a local file.<br>
Please use the online version at <a href="https://git.io/veth">git.io/veth</a>, or use a different browser.
</p>
<p v-else-if="error === 'workers_unsupported'">
Your browser does not support multi-thread computation.<br>
Please use a different browser.
</p>
<p v-else v-html="error.replace('\n', '<br>')"></p>
</div>
</div>
</div>
<div class="row">
<div class="col-md-6">
<div class="panel form">
<form :class="{error: inputError}">
<div class="error-text">Numbers and letters from A to F only</div>
<input type="text" placeholder="Prefix" v-model="input.prefix" :disabled="running">
<div class="check">
<label class="checkbox">
<input type="checkbox" name="checkbox" checked="" v-model="input.checksum" :disabled="running">
<i class="left"> </i>
Case-sensitive
</label>
</div>
<div class="threads">
<input type="button" class="square-btn" value="-" @click="threads--" :disabled="running || threads <= 1">
<input type="button" class="square-btn arrow" value="+" @click="threads++" :disabled="running">
<h4 v-text="threads"></h4>
<span v-cloak>threads</span>
<span v-if="threads === cores" v-cloak>(recommended)</span>
</div>
<div class="row">
<div class="col-lg-6 col-sm-12">
<input type="button" value="Generate" @click="startGen" :disabled="running || inputError || error">
</div>
<div class="col-lg-6 col-sm-12">
<input type="button" value="Stop" @click="stopGen" :disabled="!running">
</div>
</div>
</form>
</div>
</div>
<div class="col-md-6">
<div class="panel statistics">
<div>Difficulty: <span class="output" v-text="formatNum(difficulty)">1</span></div>
<div>Generated: <span class="output" v-text="formatNum(count) + (count === 1 ? ' address' : ' addresses')">0 addresses</span></div>
<div>50% probability: <span class="output" v-text="probability50">0 addresses</span></div>
<div>Speed: <span class="output" v-text="speed + ' addr/s'">0 addr/s</span></div>
<div>Status: <span class="output" v-text="status">Waiting</span></div>
<!--Probability:-->
<div class="probability">
<div class="probability-bar" :style="'width:' + probability + '%'"></div>
</div>
<div class="percentage">
<h5 v-text="probability + '%'">0%</h5>
<div>Probability</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="panel result">
<div>Address: <span class="output" v-text="result.address"></span></div>
<div>Private key: <span class="output" v-text="result.privateKey"></span></div>
</div>
</div>
</div>
</div>
<!--Github corner-->
<a href="https://github.com/bokub/vanity-eth" class="github-corner" aria-label="View source on Github">
<svg width="80" height="80" viewBox="0 0 250 250" aria-hidden="true">
<path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path>
<path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path>
<path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path>
</svg>
</a>
<!--JS-->
<script src="dist/vue.min.js"></script>
<script src="js/index.js" type="text/javascript"></script>
</body>
</html>