-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
561 lines (519 loc) · 32.1 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
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>PegNet | The stablecoin network for DeFi</title>
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, maximum-scale=1.0" />
<meta name="description" content="PegNet is the stablecoin network that has built the foundational money and asset layer for decentralized finance. PegNet enables you to hold value and make payments in the form of any asset you'd like thanks to pegged asset tokens.">
<meta name="keywords" content="PegNet, stablecoin, stable, coin, blockchain, decentralized protocol, payments, smart contracts, oracle, mining, miners, LXRHash mining, cpu mining, decentralized finance, defi">
<meta property="og:site_name" content="PegNet">
<meta property="og:type" content="website">
<meta property="og:title" content="PegNet">
<meta property="og:description" content="PegNet is the stablecoin network that has built the foundational money and asset layer for decentralized finance.">
<meta property="og:url" content="https://pegnet.org/">
<meta property="og:image" content="https://pegnet.org/assets/meta/meta.jpg">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="PegNet">
<meta name="twitter:description" content="PegNet is the stablecoin network that has built the foundational money and asset layer for decentralized finance.">
<meta name="twitter:url" content="https://pegnet.org/">
<meta name="twitter:image" content="https://pegnet.org/assets/meta/meta.jpg">
<meta name="twitter:site" content="@GetPegNet">
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/main.css?v=7">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.9.0/css/all.css" crossorigin="anonymous">
<link href="https://fonts.googleapis.com/css?family=Lato:300,300i,400,400i,700,700i,900,900i&display=swap" rel="stylesheet">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-147961677-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-147961677-1');
</script>
<script src="https://code.jquery.com/jquery-3.4.1.min.js" integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
<link rel="icon" type="image/png" href="favicon-16.png" sizes="16x16">
<link rel="icon" type="image/png" href="favicon-32.png" sizes="32x32">
<link rel="icon" type="image/png" href="favicon-96.png" sizes="96x96">
</head>
<body>
<section id="stats">
<div class="container">
<div class="row text-center justify-content-center">
<div class="col-12 col-sm-9">
<nobr>
<a href="https://factomatic.io/wallet" target="_blank" class="mr-3 ml-3">
<i class="fas fa-wallet mr-2"></i>PegNet Wallet</a>
</nobr>
<nobr>
<a href="https://factoshi.io/pegnet" target="_blank" class="mr-3 ml-3">
<i class="fas fa-chart-area mr-2"></i>PegNet Stats</a>
</nobr>
<nobr>
<a href="https://pegnetmarketcap.com" target="_blank" class="mr-3 ml-3">
<i class="fas fa-chart-line mr-2"></i>PegNetMarketCap</a>
</nobr>
<nobr>
<a href="https://explorer.pegnetmarketcap.com" target="_blank" class="mr-3 ml-3">
<i class="fas fa-cube mr-2"></i>pExplorer</a>
</nobr>
</div>
</div>
</div>
</section>
<header class="header">
<nav class="navbar navbar-expand-md navbar-transparent fixed-top">
<a class="navbar-brand" href="/">
<img src="assets/logo/logo-white.svg" height="30" class="navbar-logo" />
</a>
<button class="btn btn-primary custom-navbar-toggler d-md-none" data-toggle="collapse" data-target="#mainNav" aria-controls="mainNav" aria-expanded="false" aria-label="Toggle navigation"><i class="fas fa-bars"></i></button>
<div class="collapse navbar-collapse" id="mainNav">
<div class="navbar-nav mx-auto">
<a class="nav-item nav-link scroll-to-why" href="javascript:void(0)">What is PegNet?</a>
<a class="nav-item nav-link scroll-to-assets" href="javascript:void(0)">Assets</a>
<a class="nav-item nav-link scroll-to-traders" href="javascript:void(0)">Traders</a>
<a class="nav-item nav-link scroll-to-miners" href="javascript:void(0)">Miners</a>
<a class="nav-item nav-link scroll-to-developers" href="javascript:void(0)">Developers</a>
<a class="nav-item nav-link scroll-to-roadmap" href="javascript:void(0)">Roadmap</a>
</div>
</div>
</nav>
<div class="container h-100">
<div class="row h-100 align-items-center justify-content-center">
<div class="col-12 col-xl-8 col-lg-9 col-md-12 text-center header-col">
<h1>The stablecoin network<br />for Decentralized Finance</h1>
<hr style="border-color: rgba(255,255,255,0.1);" class="mt-4 mb-4">
<h4 class="p-3">PegNet functions as a state channel on <nobr><i class="fab fa-ethereum ml-1 mr-2"></i>Ethereum</nobr> dedicated to stablecoin prices, conversions and transfers.</h4>
</div>
</div>
</div>
</header>
<section id="about">
<div class="container">
<div class="row text-center">
<div class="col-12">
<h1>What is PegNet?</h1>
</div>
</div>
<div class="row text-center pt-5 pb-5">
<div class="col-12">
<iframe width="560" style="max-width: 100%;" height="315" src="https://www.youtube.com/embed/UcR6pojGDyo" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</div>
</div>
<div class="row text-center align-items-top">
<div class="col-12 col-lg-3 col-md-6 why">
<img src="assets/icons/icon-1.svg" />
<h4>Frictionless trading platform</h4>
<p class="d-md-block d-lg-none">Convert between any listed asset for just $.001. Global without borders. Self-issue assets with no counterparty, collateral, or smart contracts.</p>
</div>
<div class="col-12 col-lg-3 col-md-6 why">
<img src="assets/icons/icon-2.svg" />
<h4>Store value your way</h4>
<p class="d-md-block d-lg-none">Store value in any listed fiat currency, cryptocurrency, or precious metal with many more assets and even baskets planned.</p>
</div>
<div class="col-12 col-lg-3 col-md-6 why">
<img src="assets/icons/icon-3.svg" />
<h4>1/10th of a cent transactions</h4>
<p class="d-md-block d-lg-none">All payments and transactions cost 1/10th of a cent whether you send five cents or five million dollars.</p>
</div>
<div class="col-12 col-lg-3 col-md-6 why">
<img src="assets/icons/icon-4.svg" />
<h4>Cross chain, Interoperable</h4>
<p class="d-md-block d-lg-none">PegNet will be interoperable with Ethereum and other popular blockchain platforms.</p>
</div>
</div>
<div class="row text-center">
<div class="col-12 col-lg-3 col-md-6 why-desc d-none d-lg-block">
<p>Convert between any listed asset for just $.001. Global without borders. Self-issue assets with no counterparty, collateral, or smart contracts.</p>
</div>
<div class="col-12 col-lg-3 col-md-6 why-desc d-none d-lg-block">
<p>Store value in any listed fiat currency, cryptocurrency, or precious metal with many more assets and even baskets planned.</p>
</div>
<div class="col-12 col-lg-3 col-md-6 why-desc d-none d-lg-block">
<p>All payments and transactions cost 1/10th of a cent whether you send five cents or five million dollars.</p>
</div>
<div class="col-12 col-lg-3 col-md-6 why-desc d-none d-lg-block">
<p>PegNet will be interoperable with Ethereum and other popular blockchain platforms.</p>
</div>
</div>
<div class="row" id="assets">
<div class="col-12">
<h1 class="text-center">Assets</h1>
<h3 class="text-center text-muted">Convert between any asset for just 1/10th a cent with no middle man</h3>
</div>
<div class="col-12 col-lg-4 col-md-6">
<div class="asset-box">
<img src="assets/icons/bitcoin.svg" />
<h4 class="text-primary">Cryptocurrencies</h4>
<ul>
<li>PEG <span class="text-muted">(PegNet Token)</span></li>
<li>FCT <span class="text-muted">(Factom)</span></li>
<li>BTC <span class="text-muted">(Bitcoin)</span></li>
<li>BCH <span class="text-muted">(Bitcoin Cash)</span></li>
<li>ETH <span class="text-muted">(Ethereum)</span></li>
<li>DASH <span class="text-muted">(Dash)</span></li>
<li>LTC <span class="text-muted">(Litecoin)</span></li>
<li>BNB <span class="text-muted">(Binance Coin)</span></li>
<li>XLM <span class="text-muted">(Stellar)</span></li>
<li>ADA <span class="text-muted">(Cardano)</span></li>
<li>XMR <span class="text-muted">(Monero)</span></li>
<li>ZEC <span class="text-muted">(ZCash)</span></li>
<li>DCR <span class="text-muted">(Decred)</span></li>
<li>RVN <span class="text-muted">(Ravencoin)</span></li>
<li>EOS <span class="text-muted">(EOS)</span></li>
<li>LINK <span class="text-muted">(Chainlink)</span></li>
<li>ATOM <span class="text-muted">(Cosmos)</span></li>
<li>BAT <span class="text-muted">(Basic Attention Token)</span></li>
<li>XTZ <span class="text-muted">(Tezos)</span></li>
</ul>
</div>
</div>
<div class="col-12 col-lg-4 col-md-6">
<div class="asset-box">
<img src="assets/icons/money.svg" />
<h4 class="text-primary">Currencies</h4>
<ul>
<li>USD <span class="text-muted">(US Dollar)</span></li>
<li>EUR <span class="text-muted">(Euro)</span></li>
<li>JPY <span class="text-muted">(Japanese Yen)</span></li>
<li>GBP <span class="text-muted">(British Pound)</span></li>
<li>CAD <span class="text-muted">(Canadian Dollar)</span></li>
<li>CHF <span class="text-muted">(Swiss Franc)</span></li>
<li>INR <span class="text-muted">(Indian Rupee)</span></li>
<li>SGD <span class="text-muted">(Singapore Dollar)</span></li>
<li>CNY <span class="text-muted">(Chinese Yuan)</span></li>
<li>HKD <span class="text-muted">(Hong Kong Dollar)</span></li>
<li>KRW <span class="text-muted">(Korean Won)</span></li>
<li>BRL <span class="text-muted">(Brazillian Real)</span></li>
<li>PHP <span class="text-muted">(Phillipine Peso)</span></li>
<li>MXN <span class="text-muted">(Mexican Peso)</span></li>
<li>AUD <span class="text-muted">(Australian Dollar)</span></li>
<li>NZD <span class="text-muted">(New Zealand Dollar)</span></li>
<li>SEK <span class="text-muted">(Swedish Krona)</span></li>
<li>NOK <span class="text-muted">(Norwegian Krone)</span></li>
<li>RUB <span class="text-muted">(Russian Ruble)</span></li>
<li>ZAR <span class="text-muted">(South African Rand)</span></li>
<li>TRY <span class="text-muted">(Turkish Lira)</span></li>
</ul>
</div>
</div>
<div class="col-12 col-lg-4 col-md-12">
<div class="asset-box">
<img src="assets/icons/gold.svg" />
<h4 class="text-primary">Commodities</h4>
<ul>
<li>Gold</li>
<li>Silver</li>
</ul>
</div>
</div>
</div>
<div class="row text-center" id="usecase">
<div class="col-12">
<h1>Use cases</h1>
</div>
<div class="col-12 col-lg-3 col-md-6 usecase">
<h4>Payments</h4>
<p>Make payments in your local currency or any listed asset for just 1/10th of a cent whether you send $10 million or a micro transaction.</p>
</div>
<div class="col-12 col-lg-3 col-md-6 usecase">
<h4>Transaction Scaling</h4>
<p>Scale your blockchain by utilizing PegNet for your blockchain's payment transactions.</p>
</div>
<div class="col-12 col-lg-3 col-md-6 usecase">
<h4>Smart Contracts</h4>
<p>Settle smart contracts with any listed asset, from USD to gold.</p>
</div>
<div class="col-12 col-lg-3 col-md-6 usecase">
<h4>Oracle System</h4>
<p>Leverage the network of Proof of Work-based price oracles in creative ways.</p>
</div>
</div>
</div>
</section>
<section id="traders">
<div class="container-fluid traders-alert">
<div class="container">
<div class="row text-center justify-content-center mb-3 mt-3">
<div class="col-12 col-xs-12">
<h1 class="mb-1">PegNet Market Cap</h1>
<h2>
<strong id="widget-mcap">
<i class="fas fa-spinner fa-spin"></i>
</strong>
</h2>
</div>
<div class="col-12 col-sm-6 col-lg-3">
<div class="widget-block">
<p class="mb-2">PegNet Token</p>
<div id="widget-pegnet-token">
<p class="asset mb-0"><i class="fas fa-spinner fa-spin"></i></span>
<p class="metrics mb-1"></p>
</div>
</div>
</a>
</div>
<div class="col-12 col-sm-6 col-lg-3">
<div class="widget-block">
<p class="mb-2">Top volume <small>(24H)</small></p>
<div id="widget-top-volume">
<p class="asset mb-0"><i class="fas fa-spinner fa-spin"></i></span>
<p class="metrics mb-1"></p>
</div>
</div>
</div>
<div class="col-12 col-sm-6 col-lg-3">
<div class="widget-block">
<p class="mb-2">Biggest price gain <small>(24H)</small></p>
<div id="widget-price-gain">
<p class="asset mb-0"><i class="fas fa-spinner fa-spin"></i></span>
<p class="metrics mb-1"></p>
</div>
</div>
</div>
<div class="col-12 col-sm-6 col-lg-3">
<div class="widget-block">
<p class="mb-2">Biggest supply gain <small>(24H)</small></p>
<div id="widget-supply-gain">
<p class="asset mb-0"><i class="fas fa-spinner fa-spin"></i></span>
<p class="metrics mb-1"></p>
</div>
</div>
</div>
<div class="col-12 col-xs-12">
<p class="mt-5">
Data provided by
<a href="https://pegnetmarketcap.com" target="_blank" class="ml-2">
<img src="/img/PegNetMarketCap.svg" height="32" />
</a>
</p>
</div>
</div>
<div class="row text-center justify-content-center">
<div class="col-12 p-4">
<p class="icon"><i class="fas fa-chart-line"></i></p>
<h1>Traders</h1>
<h2>Unlimited opportunities.<br />Unlimited conversions between assets at just 1/10th of a cent per trade.<br />No middle men taking a cut of your trades, no spread, no smart contracts, and no counterparty risk.</h2>
<p class="mt-4">
<a href="https://ptrader.co" target="_blank" class="btn btn-lg btn-trading">Start Trading</a>
</p>
</div>
</div>
</div>
</div>
</section>
<section id="community">
<div class="container">
<div class="row text-center justify-content-center">
<div class="col-12 col-sm-9">
<h1>Community</h1>
<h4>PegNet launched with multi-national community of traders, miners and developers behind it. Join the Discord, get involved. Open Source project that anyone can contribute to - from developers, to miners, to designers, we openly invite and welcome you onboard.</h4>
<div class="social">
<a href="https://twitter.com/GetPegNet" target="_blank"><i class="fab fa-twitter"></i></a>
<a href="https://www.reddit.com/r/PegNet/" target="_blank"><i class="fab fa-reddit"></i></a>
<a href="https://discord.gg/Xz2ZN6p" target="_blank"><i class="fab fa-discord"></i></a>
<a href="https://t.me/PegnetOfficial" target="_blank"><i class="fab fa-telegram"></i></a>
<a href="javascript:void(0)" target="_blank" class="wechat-qr" data-toggle="popover" data-placement="top" data-html="true" data-content="<img src='/img/wechat-qr.png' height=250 width=250>"><i class="fab fa-qq"></i></a>
</div>
</div>
</div>
</div>
</section>
<section id="miners">
<div class="container">
<div class="row text-center justify-content-center">
<div class="col-12 col-sm-9">
<h1>Miners</h1>
<h4>PegNet uses a unique Proof of Work algorithm called LXRHash which is only for CPUs. Miners are rewarded in PEG, the network token. Mine on common, accessible hardware with 90% less energy than Bitcoin. Save money and trees.</h4>
<p class="mt-4">
<a href="https://github.com/pegnet/pegnet/wiki/Mining" target="_blank" class="btn btn-lg btn-primary">Start Mining</a>
</p>
</div>
</div>
</div>
</section>
<section id="developers">
<div class="container">
<div class="row text-center justify-content-center">
<div class="col-12 col-sm-9">
<h1 class="text-primary">Developers</h1>
<h4 class="text-muted">Collaborate with us! PegNet's development is decentralized. Join the movement.</h4>
<p class="links">
<a href="https://github.com/pegnet" target="_blank" class="btn btn-lg btn-primary"><i class="fab fa-github"></i> GitHub</a>
<a href="https://discord.gg/4Z7M7KY" target="_blank" class="btn btn-lg btn-primary"><i class="fab fa-discord"></i> Discord</a>
<a href="https://pegnet.org/docs/whitepaper.html" target="_blank" class="btn btn-lg btn-secondary"><i class="fas fa-file-alt"></i> Whitepaper</a>
</p>
</div>
</div>
</div>
</section>
<section id="roadmap">
<div class="container">
<div class="row text-center justify-content-center">
<div class="col-12 col-sm-9">
<h1 class="text-primary"><strong>PegNet Roadmap</strong></h1>
<ul class="timeline">
<li class="m-ready">
<p class="mb-2"><span class="badge badge-primary mr-1">pM1</span><span class="badge badge-success mr-1">LIVE</span></p>
<p class="text-primary mb-1">Launch of PEG mining<br />
<small class="text-muted">August 2019</small>
</p>
<p>PegNet mining went live August 19th 2019 allowing anyone with a common laptop computer to CPU mine PEG tokens. 5,000 PEG tokens are split among the top 25 miners each 10 minute block.</p>
</li>
<li class="m-ready">
<p class="mb-2"><span class="badge badge-primary mr-1">pM2</span><span class="badge badge-success mr-1">LIVE</span></p>
<p class="text-primary mb-1">Conversions between pAssets and transactions<br />
<small class="text-muted">October 2019</small>
</p>
<p>Conversions on PegNet went live October 14th 2019 allowing any pAsset to be converted into any other pAsset inside the user's PegNet wallet without any third party involved.</p>
</li>
<li class="m-ongoing">
<p class="mb-2"><span class="badge badge-primary mr-1">pM3</span><span class="badge badge-success mr-1">LIVE</span><span class="badge badge-info mr-1">ONGOING</span></p>
<p class="text-primary mb-1">Exchanges and wallets<br />
<small class="text-muted">December 2019</small>
</p>
<p>Arbitrage of pAssets prices between the PegNet and external exchanges (via a floating PEG token price) went live December 9th 2019. This update allows PegNet arbitragers to maintain narrow price spreads between tokens on the PegNet and external exchanges.</p>
</li>
<li class="p-titan">
<p class="mb-2"><span class="badge badge-primary mr-1">Project TITAN</span><span class="badge badge-info mr-1">COMING SOON</span></p>
<p class="text-primary mb-1">Ethereum cross-chain functionality integration</p>
</li>
<li class="p-calisto">
<p class="mb-2"><span class="badge badge-primary mr-1">Project CALLISTO</span></p>
<p class="text-primary mb-1">Decentralized Identifiers</p>
</li>
<li class="p-ganymede">
<p class="mb-2"><span class="badge badge-primary mr-1">Project GANYMEDE</span></p>
<p class="text-primary mb-1">Baskets of assets and indexes</p>
</li>
<li class="p-nebula">
<p class="mb-2"><span class="badge badge-primary mr-1">Project NEBULA</span></p>
<p class="text-primary mb-1">Additional cross-chain functionality integration</p>
</li>
<li class="p-quasar">
<p class="mb-2"><span class="badge badge-primary mr-1">Project QUASAR</span></p>
<p class="text-primary mb-1">Decentralized loans</p>
</li>
<li class="p-dark-star">
<p class="mb-2"><span class="badge badge-primary mr-1">Project DARK STAR</span></p>
<p class="text-primary mb-1">The ability to short other crypto assets</p>
</li>
<li>
<p style="line-height: 1.8;"><a href="https://pegnet.org/chat" target="_blank" class="text-success">Suggest improvement<i class="fas fa-external-link-alt ml-2"></i></a></p>
</li>
</ul>
</div>
</div>
</div>
</section>
<footer>
<div class="container">
<div class="row align-items-center">
<div class="col-12 col-lg-3 col-md-3 col-sm-4 mt-4 mb-4 logo">
<img src="assets/logo/logo-white.svg" />
</div>
<div class="col-12 col-lg-6 col-md-6 col-sm-8 mt-4 mb-4">
<nav class="nav">
<a class="nav-link scroll-to-why" href="javascript:void(0)" target="_blank">What is PegNet?</a>
<a class="nav-link scroll-to-assets" href="javascript:void(0)" target="_blank">Assets</a>
<a class="nav-link scroll-to-traders" href="javascript:void(0)" target="_blank">Traders</a>
<a class="nav-link scroll-to-miners" href="javascript:void(0)" target="_blank">Miners</a>
<a class="nav-link scroll-to-developers" href="javascript:void(0)" target="_blank">Developers</a>
<a class="nav-link scroll-to-roadmap" href="javascript:void(0)" target="_blank">Roadmap</a>
</nav>
</div>
<div class="col-12 col-lg-3 col-md-3 col-sm-12 text-left text-sm-center text-md-right mt-4 mb-4 social">
<a href="https://twitter.com/GetPegNet" target="_blank"><i class="fab fa-twitter"></i></a>
<a href="https://www.reddit.com/r/PegNet/" target="_blank"><i class="fab fa-reddit"></i></a>
<a href="https://discord.gg/Xz2ZN6p" target="_blank"><i class="fab fa-discord"></i></a>
<a href="https://t.me/PegnetOfficial" target="_blank"><i class="fab fa-telegram"></i></a>
<a href="javascript:void(0)" target="_blank" class="wechat-qr" data-toggle="popover" data-placement="top" data-html="true" data-content="<img src='/img/wechat-qr.png' height=250 width=250>"><i class="fab fa-qq"></i></a>
</div>
</div>
</div>
</footer>
<script type="text/javascript">
$(function () {
$('[data-toggle="popover"]').popover();
$.getJSON("https://pegnetmarketcap.com/api/asset-data",
function(data) {
var baseUrl = "https://pegnetmarketcap.com/asset/";
$("#widget-mcap").fadeOut(function() {
$(this).text(capFormat(data.market_cap));
}).fadeIn();
$("#widget-pegnet-token").fadeOut(function() {
$(this).children(".asset").text(data.peg_token.ticker_symbol).wrapInner('<a href="'+baseUrl+data.peg_token.ticker_symbol+'/price-trend" target="_blank"></a>');
$(this).children(".metrics").text(priceFormat(data.peg_token.price));
}).fadeIn();
$("#widget-top-volume").fadeOut(function() {
$(this).children(".asset").text(data.top_volume.asset).wrapInner('<a href="'+baseUrl+data.top_volume.asset+'/volume" target="_blank"></a>');
$(this).children(".metrics").text(volumeFormat(data.top_volume.volume*data.top_volume.price));
}).fadeIn();
$("#widget-price-gain").fadeOut(function() {
$(this).children(".asset").text(data.biggest_price_gain.asset).wrapInner('<a href="'+baseUrl+data.biggest_price_gain.asset+'/price-trend" target="_blank"></a>');
$(this).children(".metrics").text(percentFormat(data.biggest_price_gain.gain));
}).fadeIn();
$("#widget-supply-gain").fadeOut(function() {
$(this).children(".asset").text(data.biggest_supply_gain.asset).wrapInner('<a href="'+baseUrl+data.biggest_supply_gain.asset+'/supply" target="_blank"></a>');
$(this).children(".metrics").text(percentFormat(data.biggest_supply_gain.gain));
}).fadeIn();
});
$(".scroll-to-top").click(function (e){
$('html, body').animate({
scrollTop: 0
}, 300);
e.preventDefault();
});
$(".scroll-to-why").click(function (e){
$('html, body').animate({
scrollTop: $("#about").offset().top-20
}, 300);
e.preventDefault();
});
$(".scroll-to-assets").click(function (e){
$('html, body').animate({
scrollTop: $("#assets").offset().top-20
}, 300);
e.preventDefault();
});
$(".scroll-to-traders").click(function (e){
$('html, body').animate({
scrollTop: $("#traders").offset().top-20
}, 300);
e.preventDefault();
});
$(".scroll-to-miners").click(function (e){
$('html, body').animate({
scrollTop: $("#miners").offset().top
}, 300);
e.preventDefault();
});
$(".scroll-to-developers").click(function (e){
$('html, body').animate({
scrollTop: $("#developers").offset().top
}, 300);
e.preventDefault();
});
$(".scroll-to-roadmap").click(function (e){
$('html, body').animate({
scrollTop: $("#roadmap").offset().top
}, 300);
e.preventDefault();
});
})
function priceFormat(num) {
return '$' + num;
}
function capFormat(num) {
return '$' + num.toFixed(2).replace(/(\d)(?=(\d{3})+(?!\d))/g, '$1,')
}
function volumeFormat(num) {
return '$' + num.toFixed(0).replace(/(\d)(?=(\d{3})+(?!\d))/g, '$1,')
}
function percentFormat(num) {
return '+' + num + ' %';
}
</script>
</body>
</html>