-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
476 lines (463 loc) · 17.4 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
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Voi dispenser</title>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="dispenser.css">
<!--link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous"-->
<!--link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css" rel="stylesheet" -->
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js"
integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN"
crossorigin="anonymous"></script>
<!--script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js"
integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q"
crossorigin="anonymous"></script-->
<!--script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js"
integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl"
crossorigin="anonymous"></script-->
<script src='https://www.google.com/recaptcha/api.js'></script>
<script src="https://code.jquery.com/jquery-3.3.1.min.js"
integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous">
</script>
<script>
var ADDRESS_REGEX = /[A-Z0-9]{58}/
function sanitize(string) {
const entityMap = {
'&': '&',
'<': '<',
'>': '>',
'"': '"',
"'": ''',
'/': '/',
'`': '`',
'=': '='
};
return String(string).replace(/[&<>"'`=\/]/g, function (s) {
return entityMap[s];
});
}
function loadparam() {
const queryString = window.location.search;
const urlParams = new URLSearchParams(queryString);
const account = sanitize(urlParams.get('account'))
if (ADDRESS_REGEX.test(account)) {
$('#target').val(account);
}
}
function onload() {
loadparam();
$('#dispense').click(function (e) {
var recaptcha = grecaptcha.getResponse();
var target = sanitize($('#target').val());
if (ADDRESS_REGEX.test(target)) {
$('#status').html('Sending request..');
var req = $.post('https://verify.nautilus.sh/submit-form', {
recaptcha: recaptcha,
target: target,
}, function (data) {
$('#status').text('Code ' + req.status + ' ' + req.statusText + ': ' + req.responseText);
}).fail(function () {
$('#status').text('Code ' + req.status + ' ' + req.statusText + ': ' + req.responseText);
});
}
else {
$('#status').text('Please enter a valid Voi address')
}
});
}
</script>
</head>
<body onload="onload()">
<!--<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script-->
<div class="dispenser">
<!--header class="header" onClick={onHeaderClick}>
<div class="mask-group-parent">
<img
class="mask-group-icon"
loading="lazy"
alt=""
src="assets/[email protected]"
/>
<div class="headline-wrapper">
<a class="headline">VIA Faucet</a>
</div>
</div>
<div class="header-inner">
<div class="frame-parent">
<div class="headline-container">
<div class="headline1">
<a class="headline2">Home</a>
</div>
</div>
<div class="headline-frame">
<div class="headline3">
<a class="headline4">What is Voi?</a>
</div>
</div>
<div class="frame-div">
<div class="headline5">
<a class="headline6">Run a Node</a>
</div>
</div>
<div class="headline-wrapper1">
<div class="headline7">
<a class="headline8">Phase 1</a>
</div>
</div>
<div class="headline-wrapper2">
<div class="headline9">
<a class="headline10">Phase 2</a>
</div>
</div>
<div class="button-container">
<div class="dark-button">
<img
class="moon-01-icon"
loading="lazy"
alt=""
src="assets/moon01.svg"
/>
</div>
</div>
<button class="button">
<img class="essentialscheckbox-icon" alt="" />
<a class="text">Quests</a>
<img class="arrowsarrowright-icon" alt="" />
</button>
</div>
</div>
</header-->
<section class="card-wrapper">
<div class="card">
<div class="hero-base">
<div class="vertical-container">
<div class="vertical-container1">
<div class="group-parent">
<img
class="group-icon"
loading="lazy"
alt=""
src="assets/group.svg"
/>
<h1 class="dispenser1">Dispenser</h1>
</div>
</div>
</div>
</div>
</div>
</section>
<section class="call-to-action">
<div class="faucet-description">
<div class="welcome-to-the">
Welcome to the Voi Network Testnet faucet. This tool allows
developers to obtain Testnet Voi tokens for use in development and
testing environments.
</div>
<div class="g-recaptcha" data-sitekey="6LePz90pAAAAAFqiUNlnNNVnG8YPHeagO75pTAKK"></div>
<div class="the-dispensed-via-container">
<p class="the-dispensed-via">
The dispensed Testnet Voi tokens have no monetary value and should only be used
to test applications and secure the network.
</p>
<p class="this-service-is">
This service is graciously provided to enable development on the
Voi Network Testnet.
</p>
<p class="please-do-not">
Please do not abuse it by requesting more Testnet Voi tokens than needed.
</p>
</div>
<div class="input-fieldlighttrailing-dro">
<div class="label">Please enter your wallet address below.</div>
<div class="input">
<div class="input-box">
<input id="target" class="text1" placeholder="Voi Address" type="text" />
</div>
<diva class="dropdown">
<div class="dropdown-item">
<div class="text2">VOI</div>
<img
class="arrowschevrondown-icon"
loading="lazy"
alt=""
src="assets/arrowschevrondown.svg"
/>
</div>
<button id="dispense" class="button1">
<img class="essentialscheckbox-icon1" alt="" />
<div class="select-option">Dispense</div>
<img class="arrowsarrowright-icon1" alt="" />
</button>
</div>
</div>
<div class="hint-text">Hint text</div>
</div>
<div class="content-center-wrapper">
<div class="content-ccenter">
<div class="content-wrapper">
<div class="content">
<div class="button2">
<div class="paragraph-container">
<div class="headline11">
<div class="status">Status</div>
<div id="status"></div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="card-grid">
<div class="crad-quests">
<div class="card-content">
<div class="card-title">Get Kibisis Wallet</div>
<div class="card-description">
<p class="do-you-have">
Do you have a wallet for Voi?
</p>
<p class="if-you-already">
If you already have one, great! If not, get it now!
</p>
</div>
<a class="button3 hoverable2" href="https://kibis.is/" target="_blank">
<img class="essentialscheckbox-icon2" alt="" />
<div class="text3">Get Kibisis Wallet</div>
<img class="arrowsarrowright-icon2" alt="" />
</a>
</div>
</div>
<div class="crad-quests">
<div class="card-content">
<div class="card-title">Get .voi name</div>
<div class="card-description">
<p class="do-you-have">
Do you have a .voi name?
</p>
<p class="if-you-already">
If you already have one, great! If not, visit <a href="https://envoi.sh/" target="_blank">envoi.sh</a> to get it now!
</p>
</div>
<a class="button3 hoverable2" href="https://app.envoi.sh/" target="_blank">
<img class="essentialscheckbox-icon2" alt="" />
<div class="text3">Get .voi name</div>
<img class="arrowsarrowright-icon2" alt="" />
</a>
</div>
</div>
<!--div class="crad-quests1">
<div class="text-parent">
<div class="text4">
<p class="add-via-with-qr-code">
<span class="add-via">Add VIA</span>
<span> with QR Code</span>
</p>
</div>
<div class="text5">
<p class="is-via-not">Is VIA not showing in Kibisis?</p>
<p class="if-you-already1">
If you already have added it, great! If not, here!
</p>
</div>
<a class="button4 hoverable2" href="https://confused-timbale-d13.notion.site/How-to-Add-VIA-to-Kibisis-Wallet-with-Scan-QR-Code-8b6275d6d58a46baafa698d9c15bdf42" target="_blank">
<img class="essentialscheckbox-icon3" alt="" />
<div class="text6">Add Asset VIA</div>
<img class="arrowsarrowright-icon3" alt="" />
</a>
</div>
</div>
<div class="crad-quests2">
<div class="text-group">
<div class="text7">
<p class="add-via-with-app-id">
<span class="add-via1">Add VIA</span>
<span> with App ID</span>
</p>
</div>
<div class="text8">
<p class="is-via-not1">Is VIA not showing in Kibisis?</p>
<p class="if-you-already2">
If you already have it, great! If not, here!
</p>
</div>
<a class="hoverable2 button5" href="https://confused-timbale-d13.notion.site/How-to-Add-VIA-to-Kibisis-Wallet-with-App-ID-9c226dde03a54232bb0cce28bbd914f6" target="_blank">
<img class="essentialscheckbox-icon4" alt="" />
<div class="text9">Add Asset VIA</div>
<img class="arrowsarrowright-icon4" alt="" />
</a>
</div>
</div-->
</div>
</div>
</section>
<section class="call-to-action1">
<div class="content-ccenter1">
<div class="content-container">
<div class="content1">
<div class="button6">
<div class="paragraph-container1">
<b class="headline12">Looking for things to do?</b>
</div>
</div>
<div class="subtitle-icon">
<img class="award-ribbon-1" alt="" />
<div class="check-out-our">
Check out the Ecosystem Directory for more projects and tools.
</div>
</div>
</div>
</div>
</div>
<a class="asana-card" href="https://voirewards.com/ecosystem" target="_blank">
<div class="card01 hoverable2">
<b class="asana">Go to Ecosystem Directory</b>
</div>
</a>
</section>
<section class="call-to-action2">
<div class="content-ccenter2">
<div class="content-parent">
<div class="content2">
<div class="button7">
<div class="paragraph-container2">
<b class="headline13">Getting Started</b>
</div>
</div>
<div class="subtitle-icon1">
<img class="award-ribbon-11" alt="" />
<div class="get-started-by">
Get started by downloading a wallet, securing Testnet tokens,
and familiarizing yourself with the Voi ecosystem.
</div>
</div>
</div>
<div class="social-media-links">
<div class="social-media-icons">
<div class="social-media-row">
<div class="hoverable redes-xpace">
<a class="platform-icon"
href="https://x.com/Voi_Net" target="_blank">
<img
class="xpace-icon"
loading="lazy"
alt=""
src="assets/xpace.svg"
/>
</a>
</div>
</div>
<div class="social-media-row1">
<div class="hoverable redes-discord">
<a class="discord-wrapper"
href="https://discord.gg/vnFbrJrHeW" target="_blank">
<img
class="discord-icon"
loading="lazy"
alt=""
src="assets/discord.svg"
/>
</a>
</div>
</div>
<div class="social-media-row2">
<div class="hoverable redes-youtube">
<a class="youtube-wrapper"
href="https://www.youtube.com/@VoiNetwork" target="_blank">
<img
class="youtube-icon"
loading="lazy"
alt=""
src="assets/youtube.svg"
/>
</a>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="footer">
<img src="assets/logo.svg" alt="Nautilus logo" class="logo" />
<div class="text-input">
<div class="voi-all-rights">
© 2024 Nautilus. All Rights Reserved.
</div>
</div>
</div>
</section>
</div>
<!--nav>
<div class="brand-container">
<div class="mask-group">
<div class="mask ellipse"></div>
<div class="mask brand-logo"></div>
</div>
<div class="brand-name">Voi Dispenser</div>
</div>
</nav>
<div class="container">
<header style="
display: flex;
align-items: center;
">
<img src="https://docs.voi.network/assets/Voi_Logo_Purple_on_White_Background.png" height="120">
<h1>Dispenser</h1>
</header>
<div class="g-recaptcha" data-sitekey="6LePz90pAAAAAFqiUNlnNNVnG8YPHeagO75pTAKK">
</div>
<div>
<p>The dispensed VIA have no monetary value and should only be used to test applications.</p>
<p>This service is gracefully provided to enable development on the Voi chain test networks.</p>
<p>Please do not abuse it by requesting more VIA than needed.</p>
</div>
<div class="input-group mb-3">
<input id="target" type="text" class="form-control" placeholder="Voi Address" aria-label="Voi Address"
aria-describedby="basic-addon2">
<div class="input-group-append">
<div class="dropdown">
<button class="btn btn-outline-secondary dropdown-toggle rounded-0" type="button" data-bs-toggle="dropdown"
aria-expanded="false">
VIA
</button>
<ul class="dropdown-menu">
<li><a class="dropdown-item active" href="#">VIA</a></li>
</ul>
</div>
<button id="dispense" class="btn btn-outline-secondary" type="button">Dispense</button>
</div>
</div>
<div>
Status: <span id="status"></span>
</div>
</div>
<div class="container mt-3">
<div class="card-group">
<div class="card">
<div class="card-body">
<h5 class="card-title">Get Kibisis Wallet</h5>
<p>Do you have a wallet for Voi Chain?<br />
If you already have one, great! If not, get it now!</p>
<a href="https://kibis.is/" target="_blank" class="btn btn-primary w-100">Get Kibisis Wallet</a>
</div>
</div>
<div class="card">
<div class="card-body">
<h5 class="card-title">Add VIA <small>with QR Code</small></h5>
<p>Is VIA not showing in Kibisis?<br />
If you already have added it, great! If not, here!</p>
<a href="https://confused-timbale-d13.notion.site/How-to-Add-VIA-to-Kibisis-Wallet-8b6275d6d58a46baafa698d9c15bdf42" target="_blank" class="btn btn-primary w-100">Add Asset VIA</a>
</div>
</div>
<div class="card">
<div class="card-body">
<h5 class="card-title">Add VIA <small>with App ID</small></h5>
<p>Is VIA not showing in Kibisis?<br />
If you already have it, great! If not, here!</p>
<a href="https://confused-timbale-d13.notion.site/How-to-Add-VIA-to-Kibisis-Wallet-with-App-ID-9c226dde03a54232bb0cce28bbd914f6" target="_blank" class="btn btn-primary w-100">Add Asset VIA</a>
</div>
</div>
</div>
</div-->
</body>
</html>