This repository has been archived by the owner on Aug 7, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
help.html
157 lines (151 loc) · 7.69 KB
/
help.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
<html>
<head>
<meta charset="UTF-8">
<title>Material-Eleos</title>
<link rel="stylesheet" href="./material.min.css">
<link rel="stylesheet" href="./styles.css">
<link rel="stylesheet" href="./w3.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:regular,bold,italic,thin,light,bolditalic,black,medium&lang=en">
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
</head>
<body>
<div class="demo-layout mdl-layout mdl-js-layout mdl-layout--fixed-drawer mdl-layout--fixed-header">
<header class="demo-header mdl-layout__header mdl-color--grey-100 mdl-color-text--grey-600">
<div class="mdl-layout__header-row">
<span class="mdl-layout-title" id="currentBalanceValue"></span> <span class="coin"></span>
<a> (Transparent: <span id="transparentAvailableValue"></span> <span class="coin"></span> / Private: <span id="privateBalanceValue"></span> <span class="coin"></span>)</a>
<a> <span id="connectionsField">| Connections: <span id="connectionsValue"></span></span></a>
<a> | <span id="syncStatusLabel">Sync Status: <span id="syncStatusValue"></span>%</span></span> <span class="alertSpan" id="alertSpan"></span></a>
<div class="mdl-layout-spacer"></div>
</div>
</header>
<div class="demo-drawer mdl-layout__drawer mdl-color--blue-grey-900 mdl-color-text--blue-grey-50">
<header class="demo-drawer-header">
<img src="zcl.png" class="demo-avatar">
<div class="demo-avatar-dropdown">
<span>ZCLASSIC</span>
<div class="mdl-layout-spacer"></div>
<button id="accbtn" class="mdl-button mdl-js-button mdl-js-ripple-effect mdl-button--icon">
<i class="material-icons" role="presentation">arrow_drop_down</i>
<span class="visuallyhidden">Wallet</span>
</button>
<ul class="mdl-menu mdl-menu--bottom-right mdl-js-menu mdl-js-ripple-effect" for="accbtn">
<li class="mdl-menu__item" href="#">ZCLASSIC</li>
<li class="mdl-menu__item" href="btcp-lp.html">BITCOIN PRIVATE</li>
</ul>
</div>
</header>
<nav class="demo-navigation mdl-navigation mdl-color--blue-grey-800">
<a class="mdl-navigation__link" href="index.html"><i class="mdl-color-text--blue-grey-400 material-icons" role="presentation">home</i>Home</a>
<a class="mdl-navigation__link" href="history.html"><i class="mdl-color-text--blue-grey-400 material-icons" role="presentation">timeline</i>History</a>
<a class="mdl-navigation__link" href="memos.html"><i class="mdl-color-text--blue-grey-400 material-icons" role="presentation">forum</i>Memos</a>
<a class="mdl-navigation__link" href="sendt.html"><i class="mdl-color-text--blue-grey-400 material-icons" role="presentation">call_made</i>Send Transparent</a>
<a class="mdl-navigation__link" href="sendz.html"><i class="mdl-color-text--blue-grey-400 material-icons" role="presentation">call_missed_outgoing</i>Send Private</a>
<a class="mdl-navigation__link" href="addr.html"><i class="mdl-color-text--blue-grey-400 material-icons" role="presentation">call_received</i>Addresses</a>
<a class="mdl-navigation__link" href="import.html"><i class="mdl-color-text--blue-grey-400 material-icons" role="presentation">vpn_key</i></i>Private key tools</a>
<div class="mdl-layout-spacer"></div>
<a class="mdl-navigation__link" href="#"><i class="mdl-color-text--blue-grey-400 material-icons" role="presentation">help_outline</i><span class="visuallyhidden">Help</span></a>
</nav>
</div>
<main class="mdl-layout__content mdl-color--grey-100">
<div class="mdl-grid demo-content">
<span class="alertSpan" id="alertSpan"></span>
<div class="demo-graphs mdl-shadow--2dp mdl-color--white mdl-cell mdl-cell--12-col">
<h1>ZCLASSIC</h1><br>
<p>
• Website: http://zclassic.org/<br>
• Paper Wallet: https://zclassicpaperwallet.com/<br>
• Explorer 1: http://zclassicexplorer.com/<br>
• Explorer 2: https://zcl-explorer.com/insight/<br>
• Explorer 3: http://explorer.zclmine.pro/<br>
• ANN: https://bitcointalk.org/index.php?topic=1671982<br>
• Github: https://github.com/z-classic/zclassic<br>
• Coinmarketcap: https://coinmarketcap.com/currencies/zclassic/<br>
• Reddit: https://www.reddit.com/r/ZClassicOfficial/<br>
• Twitter: https://twitter.com/ZclassicCoin<br>
• Telegram News: https://t.me/bitcoinprivatenews<br>
• Discord: https://discord.gg/BGbC88c<br>
<br>
Exchanges:<br>
• https://bittrex.com/Market/Index?MarketName=BTC-ZCL<br>
• https://www.cryptopia.co.nz/Exchange?market=ZCL_BTC<br>
• https://www.coinexchange.io/market/ZCL/BTC<br>
<br>
Setting up ZCL nodes:<br>
• https://www.reddit.com/r/ZClassic/comments/7myzv2/here_is_why_people_cannot_get_connections_on_the/<br>
</p>
</div>
</div>
</main>
</div>
</body>
<div hidden>
<select class="mdl-textfield__input" type="text" id="privateFromSelect" title="privateFromSelect"></select>
<span class="alertSpan" id="alertSpan"></span>
<span class="" id="transparentAvailableValue"> </span>
<span id="addressTransparentSpan"></span>
<div class="page" id="memoPage"></div>
<span id="addressPrivateSpan"></span>
<span id="transactionTransparentSpan"></span>
<span id="transactionPrivateSpan"></span>
<span id="addressPrivateSpan2"></span>
<span id="addressTransparentSpan"></span>
<span id="transparentBalanceValue"></span>
</div>
<script src="./material.min.js"></script>
<script>
const renderer = require('./renderer.js');
function stringToHex(s) {
let hex = '';
let append = '';
for (let i = 0; i < s.length; i++) {
let cp = s.codePointAt(i).toString(16);
append = '';
if (cp.length / 2 !== 1) {
for (let n = 0; n < (2 - cp.length); n++) {
append += '0';
}
cp = append + cp;
}
hex += cp;
}
return (hex);
}
function transparentReset() {
document.getElementById("transparentSendToValue").value = "";
document.getElementById("transparentAmountValue").value = "";
}
function privateReset() {
document.getElementById("privateSendToValue").value = "";
document.getElementById("privateAmountValue").value = "";
document.getElementById("privateMemoValue").value = "";
}
function getNewTransparentAddress() {
document.getElementById("receivingAddressValue").value = renderer.generateQuerySync('getnewaddress', []).result;
}
function getNewPrivateAddress() {
document.getElementById("receivingAddressValue").value = renderer.generateQuerySync('z_getnewaddress', []).result;
}
function sendTransparentTransaction() {
let sendTo = document.getElementById("transparentSendToValue").value;
let amount = document.getElementById("transparentAmountValue").value;
let tx = {};
tx[sendTo] = Number(amount);
renderer.generateQuery('sendmany', ["", tx]);
document.getElementById("transparentResetButton").click();
}
function sendPrivateTransaction() {
let from = document.getElementById("privateFromSelect").value;
let address = document.getElementById("privateSendToValue").value;
let amount = Number(document.getElementById("privateAmountValue").value);
if (document.getElementById("privateMemoValue").value.length === 0) {
renderer.generateQuery('z_sendmany', [from, [{'address': address, 'amount': amount}]]);
}
else {
let memo = stringToHex(document.getElementById("privateMemoValue").value);
renderer.generateQuery('z_sendmany', [from, [{'address': address, 'amount': amount, 'memo': memo}]]);
}
document.getElementById("privateResetButton").click();
}
</script>
</html>