-
Notifications
You must be signed in to change notification settings - Fork 0
/
mnem.html
145 lines (136 loc) · 8.82 KB
/
mnem.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
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Cache-Control" content="max-age=3600, must-revalidate">
<meta name="theme-color" content="#123899">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.8.2/css/all.css">
<link rel="stylesheet" href="assets/css/all.css">
<link href="assets/css/css2.css" rel="stylesheet">
<script type="text/javascript" src="assets/js/tidecoinjs.js"></script>
<script src="assets/js/jquery-3.5.0.min.js"></script>
<link href="assets/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="assets/js/bootstrap.min.js"></script>
<link href="assets/css/styles.css" rel="stylesheet" id="styles-css">
<script type="text/javascript" src="assets/js/instascan.min.js"></script>
<script src="assets/js/module.js"></script>
<script src="assets/js/common.js"></script>
<script src="assets/js/cc.js"></script>
<script src="assets/js/clipboard.min.js"></script>
<script src="assets/js/cookie.js"></script>
<script src="assets/js/script.js"></script>
<script src="assets/js/qrcodejs/qrcode.js"></script>
<title>Tidecoin Paper Wallet</title>
</head>
<body class="">
<div class="container">
<div class="row">
<div class="col-md-2"></div>
<div class="col-md-8">
<section class="form">
<div id="pwd-container2">
<form name="form2" method="post" action="javascript:login2();" role="login2" style="padding-bottom: 2px;">
<img style="width: 120px;" src="assets/image/logo.png" class="img-responsive" alt="">
<button style="margin-bottom: 10px; margin-top: 10px;" id="loginpassword" type="button" onClick="javascript:openlogpass();" class="btn btn-info">
Login/Password <i class="fa fa-user-circle "></i>
</button>
<button style="margin-bottom: 10px; margin-top: 10px;" id="mnemonicbutton" type="button" onClick="javascript:openmnemonic();" class="btn btn-info">
Mnemonic <i class="fa fa-star"></i>
</button>
<br>
<p id="custom">Custom or
<button id="random12" style="margin-bottom: 10px; margin-top: 10px;" type="button" onClick="javascript:bip12();" class="btn generate btn-success">
12 words
</button>
<button id="random24" style="margin-bottom: 10px; margin-top: 10px;" type="button" onClick="javascript:bip();" class="btn generate btn-success">
<div style="">
24 words
</button>
</p>
<div style="padding-bottom: 15px">
<textarea id="phrase" placeholder="Mnemonic" required="" class="form-control input-lg" value=""></textarea>
<button id="signin2" type="submit" name="go2" class="btnMain btn btn-lg btn-primary btn-block">Generate TDC address</button>
<button id="newaddress" onclick="window.location.href = 'mnem.html';" class="btnMain btn btn-lg btn-primary btn-block" style="display: none;">Generate new address</button>
</div>
<div id="loginprogress2" style="display: none;">
<img src="assets/image/loading.gif" style="width: 100%; height: 25px; margin: 0px;">
</div>
</form>
</div>
<div id="addr-container" style="display: none;">
<form name="form3" style="padding-bottom: 2px;">
<div class="row">
<button style="margin-bottom: 10px; margin-top: 10px;" id="" type="button" onClick="printDiv()" class="btn btn-primary">
PRINT <i class="fa fa-print"></i>
</button>
<div class="alert alert-info fade in" style="margin-bottom: 0px; padding-left: 5px; padding-right: 5px; font-weight: bold; font-size: 12px;">
<a href="https://tdc.cash/" target="_blank" style="font-size: 1.05em;" id="addr-id">TDC ADDRESS</a><br>
</div>
<div class="row" id="addr-receive" style="padding-top: 10px;">
<div>
<div class="col-xs-6 col-md-6" style="margin-bottom: 0px; margin-top: 10px; padding-left: 5px; padding-right: 5px; font-weight: bold; font-size: 15px;">
<div id="singleshare">SHARE</div>
<div id="qrcodeAddress" style="margin-top: 10px;" class="img-responsive" src="assets/image/qrloader.gif">
</div>
<span id="tdcaddress" style="color:green;"></span>
<button id="addr-id-clipboard" type="button" class="btn btn-success clipboard" data-clipboard-text="TDCADDRESS" data-original-title="" title="">
COPY PUBLIC KEY <i class="fa fa-copy"></i>
</button>
</div>
<div class="col-xs-6 col-md-6" style="margin-bottom: 0px; margin-top: 10px; padding-left: 5px; padding-right: 5px; font-weight: bold; font-size: 15px;">
<div id="singlesecret">SECRET</div>
<div id="qrcodePrivate" style="margin-top: 10px;" class="img-responsive" src="assets/image/qrloader.gif">
</div>
<span id="mnem-seed" style="color:red;"></span>
</div></div><br>
<div class="text-left col-xs-12 col-md-12" style="color:black; padding-top: 40px; margin-bottom: 0px; padding-left: 25px; padding-right: 15px; font-weight: bold; font-size: 15px;">Keep your <font color="red">MNEMONIC phrase</font> in a safe place.</div>
<div class="text-left col-xs-12 col-md-12" style="color:black; padding-top: 10px; margin-bottom: 10px; padding-left: 25px; padding-right: 15px; font-weight: bold; font-size: 15px;">Since the Tidecoin private key is long (2983 characters), recommended to use <font color="red">NICKNAME and PASSWORD or MNEMONIC phrase</font> to generate a paper wallet. After creating a wallet, you can copy this huge private key (WIF) by pressing this red button <button id="privatekey-copy" type="button" class="btn btn-danger privkey" data-placement="bottom" onclick="javascript:copyPrivateKey();">
COPY PRIVATE KEY <i class="fa fa-key" style="width: 14px;"></i>
</button> and import it into Tidecoin Core.</div>
<div class="text-left col-xs-12 col-md-12" style="color:black; padding-top: 10px; margin-bottom: 0px; padding-left: 25px; padding-right: 15px; font-weight: bold; font-size: 15px;">To import the private key into the Tidecoin Core, use the command importprivkey *YOUR PRIVATE KEY*</div>
<div class="text-left col-xs-12 col-md-12" style="color:black; padding-top: 10px; margin-bottom: 0px; padding-left: 25px; padding-right: 15px; font-weight: bold; font-size: 15px;">You can use the <a href = "https://tdc.cash/" target = "_blanc">WEB WALLET</a> (https://tdc.cash/) by entering the same <font color="red">PRIVATE KEY</font>.</div>
<div class="text-left col-xs-12 col-md-12" style="color:black; padding-top: 10px; margin-bottom: 10px; padding-left: 25px; padding-right: 15px; font-weight: bold; font-size: 15px;"><font color="#5e6ad6">Donate TDC: TBidZ2t9JF6BXCboRSCJFbzfx2MVKBQi15</font></div>
</div>
</div>
</form>
</div>
</section>
</div>
<div class="col-md-2"></div>
</div>
</div>
<!-- Warning Modal
<div class="modal fade" id="modalWarning" tabindex="-1" role="dialog" aria-labelledby="modalWarningLabel" aria-hidden="true" style="display: none;">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="modalWarningLabel" style="font-weight: bold;">TERMS OF USE</h5>
</div>
<div class="modal-body">
<p style="text-align: justify;">Make sure you save or remember the nickname and password that you choose to login for the first time. Entering the wrong nickname and password will NOT result in an error, but will instead open the wrong address which will most likely be empty! If you forget or lose the nickname and/or password that you choose to login for the first time, no one will be able to help you recover your account, and your funds will be lost forever!<br><br><strong>BE YOUR OWN BANK!</strong></p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal" onclick="javascript:accept();">Accept</button>
<button type="button" class="btn btn-secondary" onclick="javascript:window.history.back();">Reject</button>
</div>
</div>
</div>
</div>
-->
<!-- Qr Scanner Modal
<div class="modal fade" id="modalQrCode" tabindex="-1" role="dialog" aria-labelledby="modalQrCodeLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="modalQrCodeLabel" style="font-weight: bold;">Scan Your QR Code</h5>
</div>
<div class="modal-body">
<video id="qrScannerPreview" style="width: 100%;"></video>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal" onclick="javascript:closeQrModal();">Close</button>
</div>
</div>
</div>
</div>-->
</body></html>