forked from carbonwallet/carbonwallet.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
448 lines (428 loc) · 21.7 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>CarbonWallet - Secure Deterministic Bitcoin Wallet</title>
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<meta content="Deterministic Bitcoin Wallet" name="description">
<meta content="carbonwallet" name="author">
<!-- If I have seen further it is by standing on the shoulders of giants. -->
<!-- Style sheets -->
<link href="css/bootstrap-combined.no-icons.min.css" rel="stylesheet">
<link href="css/font-awesome.css" rel="stylesheet">
<link href="css/default.css" rel="stylesheet">
<link href="css/packaged-app.css" rel="stylesheet">
<!-- The following libraries are required for bitcon addresses and signing. -->
<script src="extjs/bitcoin/crypto.js"></script>
<script src="extjs/bitcoin/sha256.js"></script>
<script src="extjs/bitcoin/ripemd160.js"></script>
<script src="extjs/bitcoin/jsbn.js"></script>
<script src="extjs/bitcoin/jsbn2.js"></script>
<script src="extjs/bitcoin/bitcoin.js"></script>
<script src="extjs/bitcoin/util.js"></script>
<script src="extjs/bitcoin/ec.js"></script>
<script src="extjs/bitcoin/sec.js"></script>
<script src="extjs/bitcoin/prng4.js"></script>
<script src="extjs/bitcoin/rng.js"></script>
<script src="extjs/bitcoin/ecdsa.js"></script>
<script src="extjs/bitcoin/eckey.js"></script>
<script src="extjs/bitcoin/base58.js"></script>
<script src="extjs/bitcoin/address.js"></script>
<script src="extjs/bitcoin/opcode.js"></script>
<script src="extjs/bitcoin/script.js"></script>
<script src="extjs/bitcoin/transaction.js"></script>
<!-- JQuery and bootstrap. -->
<script src="extjs/jquery-1.9.1.js"></script>
<script src="extjs/bootstrap-collapse.js"></script>
<script src="extjs/bootstrap-transition.js"></script>
<script src="extjs/bootstrap-modal.js"></script>
<script src="extjs/bootstrap-tooltip.js"></script>
<script src="extjs/bootstrap-popover.js"></script>
<!-- Other external libraries. -->
<script src="extjs/qrcode.js"></script>
<script src="extjs/mnemonic.js"></script>
<script src="extjs/electrum.js"></script>
<!-- JavaScript created specifically for CarbonWallet. -->
<script src="js/tx.js"></script>
<script src="js/blockchain.js"></script>
<script src="js/wallet.js"></script>
<script src="js/carbonwallet.js"></script>
<link href="favicon.png" rel="icon" type="image/png">
</head>
<body>
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<a class="btn btn-navbar" data-target=".nav-collapse" data-toggle="collapse">
<span class="icon-bar"></span> <span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<a class="brand" href="/"><i class="icon-money"></i> CarbonWallet</a>
<div class="nav-collapse">
<ul class="nav">
<li class="active">
<a id="home" href="#">Home</a>
</li>
<li>
<a id="blog" href="/blog.html">Blog</a>
</li>
</ul>
<ul class="nav pull-right">
<li id="logout-menu">
<a id="logout" href="#">Logout</a>
</li>
</ul>
</div>
</div>
</div>
</div>
<!-- Home Page -->
<div id="logon">
<div id="header">
<h1>It's time to get serious about online Bitcoin wallets.</h1>
<div class="well" id="form-well">
<form>
<input id="password" placeholder="Enter your CarbonWallet 12 word passphrase." value="" class="input-medium" type="password" />
<input id="open-sesame" disabled data-toggle="collapse" data-target="#create-keys" class="btn disabled" value="Open Wallet" />
<input id="generate-password" class="btn btn-success" data-toggle="collapse" data-target="#create-wallet" value="Start a new wallet" />
</form>
<div id="create-keys" class="collapse">
<div class="progress">
<div class="bar" id="seed-progress" style="width: 0%;"></div>
</div>
</div>
<div id="create-wallet" class="collapse">
<h4>To use CarbonWallet you need a passphrase.</h4>
<p>We have created a passphrase for you in the box below. Write
your passphrase down and keep it safe.
</p>
<p>
<input id="generated" readonly value="" class="input-medium" type="text" />
<button class="btn" id="regenerate-password" data-toggle="tooltip" title="Click to generate another random passphrase." type="button"><i class="icon-repeat"></i></button>
</p>
<p>Make sure no-one is near you when you use this passphrase.
If anyone sees your passphrase, or gets it from you, they can steal your Bitcoins.
</p>
<p><span class="label label-info">We use Passphrases because they are much more
secure than passwords.</span></p>
</div>
</div>
<h2>We don't store your Bitcoins locally or on our servers.</h2>
</div>
<div class="container">
<h3 class="sales-title">Why should I use CarbonWallet ?</h3>
<h4 class="sales-subtitle">We're a very secure online wallet with low payment fees (0.0005 BTC). Read on...</h4>
<div class="row">
<div class="span4">
<h4><i class="icon-ok-sign"></i> We are determined.</h4>
<p>CarbonWallet is an online <a href="https://en.bitcoin.it/wiki/Deterministic_wallet">deterministic wallet</a>.
Your passphrase is turned into a number which is then turned into Bitcoin Addresses.
</p>
<p>Your passphrase is your wallet access and wallet backup.</p>
</div>
<div class="span4">
<h4><i class="icon-ok-sign"></i> We are a zero footprint wallet.</h4>
<p>
We don't store your Bitcoins locally or on our servers, only in your browser memory.
No trace is left on your device once you logout of your session.</p>
<p>
Thiefs have fewer angles of attack with CarbonWallet.
</p>
</div>
<div class="span4">
<h4><i class="icon-ok-sign"></i> We support online or cold storage.</h4>
<p>Need to store large sums of Bitcoins ? CarbonWallet supports
<a href="https://en.bitcoin.it/wiki/Cold_storage">Cold Storage</a>.</p>
<p>
You can use CarbonWallet online or offline on a computer you know is clean and safe.
<i class="icon-download"></i>
<a href="https://github.com/carbonwallet/carbonwallet.github.io/archive/master.zip">Download CarbonWallet</a>
</p>
</div>
</div>
<hr />
<h3 class="sales-title">We will do everything we can to protect your Bitcoins.</h3>
<h4 class="sales-subtitle">However you also need to take responsibility and follow these guidelines.</h4>
<div class="row">
<div class="span4">
<h4><i class="icon-ban-circle"></i> Never give out your passphrase.</h4>
<p>There are several ways thiefs will try and get your passphrase.
These attacks apply to all Bitcoin wallets so read up and be safe.
</p>
<ol>
<li>
<a href="http://en.wikipedia.org/wiki/Phishing">Phishing</a>
Always make sure you are on the carbonwallet.com address and never click links in emails.
</li>
<li>
<a href="http://en.wikipedia.org/wiki/Social_engineering_(security)">Social engineering</a>
Be very careful about what you install on the devices you own.
</li>
<li>
Watch out for <a href="http://en.wikipedia.org/wiki/Malware">Malware</a>
including <a href="http://en.wikipedia.org/wiki/Keystroke_logging">Keyloggers</a>
or malicious software often disguised as a genuine piece of software.
</li>
</ol>
</div>
<div class="span4">
<h4><i class="icon-ban-circle"></i> Consider multiple passphrases.</h4>
<p>Think about passphrases the way you keep money in real life,
not all in one place. For example.</p>
<ul>
<li><span class="label label-info">A day to day passphrase</span>.
You could store a small amount of
Bitcoins here so you don't lose all your Bitcoins if it is compromised.
Write the passphrase down and carry it in your wallet.</li>
<li><span class="label label-info">A Bank account style passphrase</span>. One that you only use in a safe environment,
i.e. a computer with good virus protection. Hold moderate amounts of Bitcoins here.</li>
<li><span class="label label-info">A savings passphrase</span>. A passphrase you created in cold storage.
Be very careful when you use this password.</li>
</ul>
</div>
<div class="span4">
<h4><i class="icon-ban-circle"></i> Never lose your passphrases.</h4>
<p><span class="label label-important">Without the passphrase your coins are gone</span>.
There is no way to retrieve CarbonWallet wallets
without the passphrase.</p>
<p>The best way to keep passphrases safe is... </p>
<ul>
<li>Write them down</li>
<li>keep them somewhere secure.</li>
</ul>
<p><img src="images/written.jpg" alt="Write it down." class="img-polaroid"></p>
</div>
</div>
<hr />
<h3 class="sales-title">More Technical Details.</h3>
<h4 class="sales-subtitle">We are using the latest in open repositories and best practices to stay secure.</h4>
<div class="row">
<div class="span4">
<h4><i class="icon-key"></i> We are using 128bit passphrases.</h4>
<p>According to "<a href="http://www.grc.com/haystack.htm">how big is your haystack?</a>" Our passphrases would take
<em>trillions of
centuries</em> to break under a massive cracking scenario. </p>
<p>We are using
<a href="https://developer.mozilla.org/en/docs/DOM/window.crypto.getRandomValues">
window.crypto.getRandomValues</a> whenever available for cryptographically random values.</p>
<p>Our passphrases are compatible with the
<a href="http://electrum.org/">Electrum Bitcoin client</a>
and <a href="http://brainwallet.org/#chains">Brainwallet.org</a>.</p>
</div>
<div class="span4">
<h4><i class="icon-random"></i> We generate bitcoin addresses deterministically.</h4>
<p>
Your passphrase is turned into a 128bit key which is then stretched into 10 bitcoin addresses.
There is no limit but for now 10 per passphrase should be adequate.</p>
<p>Determined Bitcoin addresses mean no need for a remote server to hold keys and no need
to store keys on a local hard drive.</p>
</div>
<div class="span4">
<h4><i class="icon-user"></i> CarbonWallet is open and public domain.</h4>
<p>
All source code is available on Github and the site is a Github page. </p>
<p>All commits and changes are open for peer review and the site is deployed
directly from the repository.</p>
<p><strong>Extra security through open source code.</strong></p>
<p>All JavaScript is unminimized for easier inspection.</p>
</div>
</div>
</div>
</div>
<!-- My Addresses -->
<div class="container">
<div id="site" class="tab-pane fade in ">
<div class="row">
<div class="span3">
<ul class="nav nav-list">
<li class="nav-header">Wallet Options</li>
<li class="active"><a href="#" id="your-addresses-nav"><i class="icon-align-justify"></i>Your Addresses</a></li>
<li><a href="#" id="make-payment-nav"><i class="icon-share"></i>Make a Payment</a></li>
</ul>
</div>
<div id="your-addresses" class="span9">
<h4>Your Bitcoin Addresses</h4>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>Public Address</th>
<th>Balance</th>
<th>Actions</th>
</tr>
</thead>
<tr>
<td><code id="address0"></code></td>
<td><span><strong id="balance0"> </strong></span></td>
<td><i id="qrcode0" class="icon-qrcode"></i></td>
</tr>
<tr>
<td><code id="address1"></code></td>
<td><span><strong id="balance1"> </strong></span></td>
<td><i id="qrcode1" class="icon-qrcode"></i></td>
</tr>
<tr>
<td><code id="address2"></code></td>
<td><span><strong id="balance2"> </strong></span></td>
<td><i id="qrcode2" class="icon-qrcode"></i></td>
</tr>
<tr>
<td><code id="address3"></code></td>
<td><span><strong id="balance3"> </strong></span></td>
<td><i id="qrcode3" class="icon-qrcode"></i></td>
</tr>
<tr>
<td><code id="address4"></code></td>
<td><span><strong id="balance4"> </strong></span></td>
<td><i id="qrcode4" class="icon-qrcode"></i></td>
</tr>
<tr>
<td><code id="address5"></code></td>
<td><span><strong id="balance5"> </strong></span></td>
<td><i id="qrcode5" class="icon-qrcode"></i></td>
</tr>
<tr>
<td><code id="address6"></code></td>
<td><span><strong id="balance6"> </strong></span></td>
<td><i id="qrcode6" class="icon-qrcode"></i></td>
</tr>
<tr>
<td><code id="address7"></code></td>
<td><span><strong id="balance7"> </strong></span></td>
<td><i id="qrcode7" class="icon-qrcode"></i></td>
</tr>
<tr>
<td><code id="address8"></code></td>
<td><span><strong id="balance8"> </strong></span></td>
<td><i id="qrcode8" class="icon-qrcode"></i></td>
</tr>
<tr>
<td><code id="address9"></code></td>
<td><span><strong id="balance9"> </strong></span></td>
<td><i id="qrcode9" class="icon-qrcode"></i></td>
</tr>
</table>
</div>
<div class="span9" id="tx">
<h4>Make a Payment</h4>
<form action="/" class="form-vertical" method="get">
<fieldset>
<div class="control-group form-hide">
<label class="control-label" for="txSec">Private Key</label>
<div class="controls">
<input class="span5" id="txSec" type="text">
<span class="help-inline errormsg"></span>
</div>
</div>
<div class="control-group">
<label class="control-label" for="txDropAddr">Source Address</label>
<div class="controls">
<select class="span4" id="txDropAddr">
</select>
<div class="input-prepend"> <span class="add-on">BTC</span><input class="span2" id="txBalance" readonly type="text">
</div>
<!--<button class="btn" id="txDropGetUnspent" title="Reload" type="button"><i class="icon-repeat"></i></button>
<button class="btn" data-target="#txUnspentForm" data-toggle="collapse" id="txToggle" type="button">Edit Inputs</button>-->
</div>
</div>
<div class="control-group txCC">
<label class="control-label" for="txDest">Destination Address</label>
<div class="controls">
<input id="txDest" class="span4 txDest" type="text" placeholder="E.g. 1BountYypWttTvAJcMJVvSRDfX3TJ182To" autocomplete="off">
<div class="input-prepend">
<span class="add-on">BTC</span>
<input class="span2" id="txValue" placeholder="E.g. 0.01" type="text" autocomplete="off">
</div>
<span class="help-inline errormsg">
<button class="btn input-up" style="margin-bottom: 10px" id="txAddDest" type="button">+</button>
<button class="btn input-up" style="margin-bottom: 10px" id="txRemoveDest" type="button" disabled>–</button>
</span>
</div>
</div>
<div class="control-group">
<label class="control-label" for="txFee">Fee (Includes Miners Fee)</label>
<div class="controls">
<div class="input-prepend"><span class="add-on">BTC</span><input readonly class="span2" id="txFee" type="text" value="0.0005"></div>
</div>
</div>
<div class="control-group">
<label class="control-label" for="txFee">You can check the payment before it is sent to the network.</label>
<div class="controls">
<button class="btn" disabled style="margin-bottom: 10px" id="txSend" type="button">Verify and Send</button>
</div>
</div>
</fieldset>
</form>
<div id="verifyModal" class="modal hide">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h6>Send payment of <span id="verifyAmountTitle">0.005</span> BTC from <span id="verifySource">1BountYypWttTvAJcMJVvSRDfX3TJ182</span></h6>
</div>
<div id="verifyBody" class="modal-body">
<table class="table table-bordered">
<thead id="verifyTable">
<tr>
<th>Destination Address</th>
<th>Amount</th>
</tr>
</thead>
<tr>
<td><small><span class="label">A fee of 0.0005 BTC will be added.</span></small></td>
<td><small><span><strong>0.0005</strong></span></small></td>
</tr>
<tfoot>
<tr>
<td><strong>Total</strong></td>
<td><strong id="verifyTotal">50.05</strong> BTC</td>
</tr>
</tfoot>
</table>
<p id="tx-toggle" >
<a data-toggle="collapse"
data-target="#advanced-details">Show/Hide Transaction Details (Advanced users)</a>
</p>
<div id="advanced-details" class="collapse">
<div class="control-group">
<label class="control-label" for="txJSON">JSON Transaction</label>
<div class="controls">
<textarea class="span5" id="txJSON" rows="4"></textarea>
</div>
</div>
<div class="control-group">
<label class="control-label" for="txHex">Raw Transaction</label>
<div class="controls">
<textarea class="span5" id="txHex" rows="4"></textarea>
</div>
</div>
</div>
</div>
<div class="modal-footer">
<a href="#" data-dismiss="modal" class="btn">Cancel</a>
<button id="sendPayment" data-dismiss="modal" class="btn btn-primary">Send Payment</button>
</div>
</div>
<div id="alertModal" class="modal hide">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h3>Response</h3>
</div>
<div class="modal-body">
<p id="alertModalText"></p>
</div>
<div class="modal-footer">
<a href="#" data-dismiss="modal" class="btn">Close</a>
</div>
</div>
</div>
</div>
</div>
</div>
<footer>
<p><i class="icon-money"></i> <strong>CarbonWallet © 2013</strong></p>
<p><small>Powered by
<a href="http://pages.github.com">GitHub Pages</a> |
<a href="https://github.com/carbonwallet/carbonwallet.github.io">View Source Code</a>
</small>
</p>
</footer>
</body>
</html>