This repository has been archived by the owner on Oct 14, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
developers.html
463 lines (408 loc) · 22 KB
/
developers.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" >
<title>Razor network</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" href="i/favicon.png" type="image/x-icon">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-143423314-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-143423314-1');
</script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.7.2/animate.min.css">
<link href="https://fonts.googleapis.com/css?family=Poppins:100,200,300,400,600,500,700,800,900|Poppins:100,200,300,400,500,600,700,800,900&subset=latin" rel="stylesheet">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.1/css/all.css" integrity="sha384-50oBUHEmvpQ+1lW4y57PTFmhCaXp0ML5d60M1M7uH2+nqUivzIebhndOJK28anvf" crossorigin="anonymous">
<link href="css/style.css" rel="stylesheet" />
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<link rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.15.8/styles/atom-one-dark.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.15.8/highlight.min.js"></script>
<script type="text/javascript" src="js/solidity.js"></script>
<script type="text/javascript">
hljs.registerLanguage('solidity', window.hljsDefineSolidity);
hljs.initHighlightingOnLoad();
</script>
<!-- <script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?v=3&key=AIzaSyDP6Ex5S03nvKZJZSvGXsEAi3X_tFkua4U"></script> -->
</head>
<body>
<!-- Navigation Mobile type 2 -->
<a class="open_menu color-main bg-light radius_full"><i class="fas fa-bars lh-40"></i></a>
<div class="navigation_mobile bg-light type2">
<a class="close_menu color-main"><i class="fas fa-times"></i></a>
<div class="px-40 pt-60 pb-60 text-center inner">
<!-- <a class="link color-white f-18 mx-15" href="dashboard.html">Testnet</a>
<a class="link color-white f-18 mx-15" href="whitepaper.pdf">Whitepaper</a> -->
<div><a href="/" class="f-heading f-22 link color-main mb-20">Home</a></div>
<div><a href="dashboard.html" class="f-heading f-22 link color-main mb-20">Testnet</a></div>
<div><a href="developers.html" class="f-heading f-22 link color-main mb-20">Developers</a></div>
<div><a href="https://docs.razor.network" class="f-heading f-22 link color-main mb-20">Documentation</a></div>
<!-- <div><a href="#" class="f-heading f-22 link color-main mb-20">Featured</a></div>
<div><a href="#" class="f-heading f-22 link color-main mb-20">Designers</a></div>
<div><a href="#" class="f-heading f-22 link color-main mb-40">Team</a></div> -->
<!-- <div><a href="#" class="f-12 link color-main op-7 text-uppercase sp-20 mb-20">Help</a></div>
<div><a href="#" class="f-12 link color-main op-7 text-uppercase sp-20 mb-20">F.A.Q.</a></div>
<div><a href="#" class="f-12 link color-main op-7 text-uppercase sp-20 mb-20">Support</a></div>
<div><a href="#" class="f-12 link color-main op-7 text-uppercase sp-20 mb-20">About Us</a></div>
<div><a href="#" class="f-12 link color-main op-7 text-uppercase sp-20 mb-20">Blog</a></div>
<div><a href="#" class="f-12 link color-main op-7 text-uppercase sp-20 mb-20">Careers</a></div> -->
<div class="socials mt-120">
<a href="https://github.com/razor-network" target="_blank" class="link color-main f-18 mx-10"><i class="fab fa-github"></i></a>
<a href="https://twitter.com/razor_network" target="_blank" class="link color-main f-18 mx-10"><i class="fab fa-twitter"></i></a>
<a href="https://t.me/razornetwork" target="_blank" class="link color-main f-18 mx-10"><i class="fab fa-telegram"></i></a>
<a href="https://discord.gg/3kvXUye" target="_blank" class="link color-main f-18 mx-10"><i class="fab fa-discord"></i></a>
</div>
</div>
</div>
<!-- Header 2 -->
<header class="pt-190 pb-120 bg-dark header_2">
<!-- Header Menu 2 -->
<nav class="header_menu_2 transparent pt-30 pb-30 mt-20">
<div class="container px-xl-0">
<div class="row justify-content-between align-items-baseline">
<div class="col-md-4" data-aos-duration="500" data-aos="fade-down" data-aos-delay="750">
<div class="logo color-white"><a href='/'><img src="i/logo3.svg" height="50px"></img></a></div>
</div>
<!-- <span data-aos-duration="500" data-aos="fade-down" data-aos-delay="750" >
<a class=" link color-white" style = "padding: .5rem 1rem;" href="dashboard.html">Testnet</a>
<a class=" link color-white" style = "padding: .5rem 1rem;" href="https://github.com/razor-network/whitepaper/raw/master/Razor%20Network%20Whitepaper%200.4.pdf">Whitepaper</a>
</span> -->
<div class="col-md-2 d-flex justify-content-end align-items-center" data-aos-duration="500" data-aos="fade-down" data-aos-delay="750">
<!-- <a href="#" class="link color-white f-18 mx-15">Features</a>
<a href="#" class="link color-white f-18 mx-15">Team</a>
<a href="#" class="btn sm action-2 mx-15">Contact</a> -->
<a class="link color-white f-18 mx-15" href="dashboard.html">Testnet</a>
<a class="link color-white f-18 mx-15" href="developers.html">Developers</a>
<a class="link color-white f-18 mx-15" href="https://docs.razor.network">Documentation</a>
<a href="https://github.com/razor-network" class="mx-15 link color-white"><i class="fab fa-github fa-2x"></i></a>
<a href="https://twitter.com/razor_network" class="mx-15 link color-white"><i class="fab fa-twitter fa-2x"></i></a>
<a href="https://t.me/razornetwork" class="mx-15 link color-white"><i class="fab fa-telegram fa-2x "></i></a>
<a href="https://discord.gg/3kvXUye" class="mx-15 link color-white"><i class="fab fa-discord fa-2x "></i></a>
</div>
</div>
</div>
</nav>
<div class="container">
<div class="mb-3 logo color-white d-block d-xl-none text-center logo_mobile"> <a href='/'><img src="i/logo3.svg" height="50px"></img></a>
</div>
<h1 class="color-white text-center" data-aos-duration="500" data-aos="fade-down" data-aos-delay="0">Built by developers
<br />for developers
<!-- <div style="display: inline-block" class="finance animated">Finance</div> -->
<!-- <div class="insurance">Insurance</div> -->
</h1>
<div class="mw-620 mx-auto mt-35 f-22 color-white op-7 text-center text-adaptive">
<span data-aos-duration="500" data-aos="fade-down" data-aos-delay="250">
Get access to outside data easily using our SDK.
<!-- Blockchains do not have access to the data from outside the blockchain. Such data is necessary for operation of various decentralized applications.
Traditionally this is done by using a centralized entities called “Oracles”. But they are a single point of failure in otherwise decentralized applications and must be trustworthy.
Razor is truly decentralized oracle platform offering a high degree of decentralization and economic security, which is crucial for decentralized finance applications. -->
</span>
</div>
<!-- <form class="row align-items-center justify-content-center no-gutters mt-70" data-aos-duration="500" data-aos="fade-down" data-aos-delay="500" method="POST" action="form-handler.php"> -->
<!-- <form class="row align-items-center justify-content-center no-gutters mt-70" data-aos-duration="500" data-aos="fade-down" data-aos-delay="500" action="https://gmail.us20.list-manage.com/subscribe/post?u=32e904d07df33d9c4d5d756eb&id=f3daba9fa6&c" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" target="_blank" novalidate>
<div class="col-xl-6 flex-wrap justify-content-center justify-content-md-between holder">
<div id="mc_embed_signup_scroll" class="input-group input-group-sm mb-3"> -->
<!-- <label for="mce-EMAIL">Subscribe</label> -->
<!-- <input type="email" value="" name="EMAIL" class="mw-320 input lg border-transparent-white focus-white color-white placeholder-transparent-white f-20" id="mce-EMAIL" placeholder="Your email" required> -->
<!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
<!-- <input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="btn action-1 lg"> -->
<!-- <div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_32e904d07df33d9c4d5d756eb_f3daba9fa6" tabindex="-1" value=""></div> -->
<!-- </div> -->
<!-- </form> -->
<!-- <input type="email" name="email" placeholder="Your email" class="mw-320 input lg border-transparent-white focus-white color-white placeholder-transparent-white f-20" required />
<button class="btn action-1 lg">Subscribe</button> -->
<!-- <div class="color-white op-3 text-center mt-35">
<span data-aos-duration="500" data-aos="fade-down" data-aos-delay="750">
Subscribe to our newsletter for latest updates
<a href="#" class="link color-white">Terms of Service</a>
</span>
</div> -->
</div>
</header>
<!-- Content 1 -->
<section class="content_1 bg-light pt-80 pb-80">
<div class="container px-xl-0">
<div class="row justify-content-center">
<div class="col-xl-7 col-lg-10 text-center" data-aos-duration="500" data-aos="fade-down" data-aos-delay="0">
<h2 class="mt-25">Access price of Ether on Rinkeby today</h2>
<div class="color-heading text-adaptive">Razor is live on rinkeby and is serving price of ETH/USD. Query the price easily by calling our contract as shown below.
Currently querying the oracle is free of cost.
</div>
<pre class="text-left"><code>pragma solidity ^0.5.7;
interface Razor {
function getPrice() external view returns (uint256);
}
contract Example {
Razor public constant razor =
Razor(0x2bDBA1258E570d32fb167AaC3D96239a48702484);
function getEthPrice() public view returns(uint256){
return (razor.getPrice());
}
}
</code></pre>
<div data-aos-duration="500" data-aos="fade-down" data-aos-delay="0" class="aos-init aos-animate">
<a href="https://github.com/razor-network/contracts" target="_blank" class="mb-30 btn lg action-1">Check source code Github</a>
<!-- <a href="https://github.com/razor-network" target="_blank" class="mb-30 btn lg action-1">Github</a> -->
</div>
</div>
</div>
</div>
</section>
<!-- Feature 2 -->
<!--
<section class="feature_2 bg-light pt-105 pb-45 text-center">
<div class="container px-xl-0">
<div class="row justify-content-center">
<div class="col-xl-8 col-lg-10">
<h2 class="small" data-aos-duration="500" data-aos="fade-down" data-aos-delay="0">Startup Framework</h2>
<div class="mt-35 mb-65 f-22 color-heading text-adaptive description" data-aos-duration="500" data-aos="fade-down" data-aos-delay="250">
The most important part of the Startup Framework are the samples or
Bootstrap themes and templates. The samples consist of a set of few
pages you can use «as is» or add new blocks from UI Kit.
</div>
</div>
<div class="col-xl-10">
<div class="row justify-content-center">
<div class="mb-50 col-md-4 col-sm-8" data-aos-duration="500" data-aos="fade-down" data-aos-delay="500">
<div class="mb-20 f-18 medium title">For Freelancers and <br />Agencies</div>
<div class="color-heading text-adaptive">
Pay once and it’s yours forever. Use <br />
it to build as many sites as you <br />
need; long form, presentations, <br />
splash sites, and more.
</div>
<a href="#" class="mt-30 btn sm w-40 border-transparent-main"><i class="fas fa-angle-right"></i></a>
</div>
<div class="mb-50 col-md-4 col-sm-8" data-aos-duration="500" data-aos="fade-down" data-aos-delay="750">
<div class="mb-20 f-18 medium title">Cmd + C / Cmd + V</div>
<div class="color-heading text-adaptive">
Edit content in a comfortable <br />
manner. It’s as simple as copy <br />
and paste.
</div>
<a href="#" class="mt-30 btn sm w-40 border-transparent-main"><i class="fas fa-angle-right"></i></a>
</div>
<div class="mb-50 col-md-4 col-sm-8" data-aos-duration="500" data-aos="fade-down" data-aos-delay="1000">
<div class="mb-20 f-18 medium title">Full Control</div>
<div class="color-heading text-adaptive">
Easily change and tweak your <br />
content when you need to, <br />
however you want. No more third <br />
party vendor lock-in.
</div>
<a href="#" class="mt-30 btn sm w-40 border-transparent-main"><i class="fas fa-angle-right"></i></a>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Content 2 -->
<!-- <section class="content_2 bg-light pt-105 pb-95">
<div class="container px-xl-0 text-center">
<div class="row justify-content-center">
<div class="col-xl-8 col-lg-10" data-aos-duration="500" data-aos="fade-down" data-aos-delay="0">
<h2>The Third Sneak-Peek of Startup Framework</h2>
</div>
<div class="col-xl-7 col-lg-9 col-md-10" data-aos-duration="500" data-aos="fade-down" data-aos-delay="250">
<div class="mt-35 f-18 medium color-heading op-7 text-adaptive">
We have created a new product that will help designers, developers and companies
create websites for their startups quickly and easily.
</div>
</div>
</div>
</div>
</section> -->
<!-- Testimonial 2 -->
<!-- <section class="testimonial_2 bg-light pt-75 pb-75">
<div class="container px-xl-0 text-center">
<div class="row justify-content-center">
<div class="col-xl-6 col-lg-8 col-md-10">
<i class="fas fa-quote-left f-30 color-gray" data-aos-duration="500" data-aos="fade-down" data-aos-delay="0"></i>
<div class="mt-35 mb-45 f-22 text-adaptive" data-aos-duration="500" data-aos="fade-down" data-aos-delay="250">
You can decide whether to create your site using UI
Kit blocks or samples. The blocks can merge
together in various combinations.
</div>
<img srcset="i/[email protected] 2x" src="i/testimonial_2_img.jpg" class="w-120 h-120 radius_full" alt="" data-aos-duration="500" data-aos="fade-down" data-aos-delay="500" />
<div class="mt-20 f-18 medium" data-aos-duration="500" data-aos="fade-down" data-aos-delay="750">Jordan Bargeman</div>
<div class="f-14 semibold color-heading text-uppercase sp-20" data-aos-duration="500" data-aos="fade-down" data-aos-delay="750">Google</div>
</div>
</div>
</div>
</section> -->
<!-- Contact 2 -->
<!--
<section class="contact_2 bg-light pt-80 pb-100 text-center">
<div class="container px-xl-0">
<form action="form-handler.php" method="post">
<div class="row justify-content-center">
<div class="col-xl-6 col-lg-8 col-md-10">
<div class="f-14 semibold text-uppercase sp-20 color-heading" data-aos-duration="500" data-aos="fade-down" data-aos-delay="0">Get Started</div>
<h2 class="mt-20 mb-40 small" data-aos-duration="500" data-aos="fade-down" data-aos-delay="250">Get in Touch with Us</h2>
<div data-aos-duration="500" data-aos="fade-down" data-aos-delay="500">
<textarea name="message" placeholder="Your message" class="mb-30 input w-full lg radius10 border-gray focus-action-1 color-heading placeholder-heading text-left" required></textarea>
</div>
</div>
<div class="col-12"></div>
<div class="col-xl-4 col-lg-5 col-md-6 col-sm-7" data-aos-duration="500" data-aos="fade-down" data-aos-delay="750">
<input type="email" name="email" placeholder="Your email" class="mb-30 input w-full lg border-gray focus-action-1 color-heading placeholder-heading text-center text-sm-left" required />
</div>
<div class="col-xl-2 col-lg-3 col-md-4 col-sm-5" data-aos-duration="500" data-aos="fade-down" data-aos-delay="1000">
<button class="mb-30 btn lg w-full action-1">Send</button>
</div>
</div>
</form>
<div class="row justify-content-center">
<div class="col-xl-1"></div>
<div class="col-xl-3 col-md-4 col-sm-8 mt-50" data-aos-duration="500" data-aos="fade-down" data-aos-delay="0">
<div class="mb-10 f-14 semibold text-uppercase sp-20 title">New York, NY</div>
<div class="color-heading text-adaptive">
62 West 55th Street, Suite 302
New York, NY, 10230
</div>
</div>
<div class="col-md-4 col-sm-8 mt-50" data-aos-duration="500" data-aos="fade-down" data-aos-delay="250">
<div class="mb-10 f-14 semibold text-uppercase sp-20 title">San Francisco, CA</div>
<div class="color-heading text-adaptive">
560 Judah St & 15th Ave, Apt. 5 <br />
San Francisco, CA, 230903
</div>
</div>
<div class="col-xl-3 col-md-4 col-sm-8 mt-50" data-aos-duration="500" data-aos="fade-down" data-aos-delay="500">
<div class="mb-10 f-14 semibold text-uppercase sp-20 title">Dubai</div>
<div class="color-heading text-adaptive">
U237-02, Gold Tower, Jumeirah
Lakes Towers, Dubai, UAE
</div>
</div>
<div class="col-xl-1"></div>
</div>
</div>
</section> -->
<!-- Call to Action 1 -->
<!-- <section class="call_to_action_1 bg-light pt-110 pb-95 text-center ">
<div class="container px-xl-0">
<div class="row justify-content-center">
<div class="col-xl-8 col-lg-10" data-aos-duration="500" data-aos="fade-down" data-aos-delay="0">
<h2>Get in touch!</h2>
</div>
<div class="col-xl-7 col-lg-9 col-md-10">
<div class="mt-20 mb-60 f-22 color-heading text-adaptive description" data-aos-duration="500" data-aos="fade-down" data-aos-delay="250">
Application developers interested in using the platform, and for partnership enquiries, please contact us.
</div>
<div data-aos-duration="500" data-aos="fade-down" data-aos-delay="500">
<a href="https://forms.gle/soV7ZCjottt4Y2EP6" class="mb-30 btn lg action-1">Contact us</a>
<div class="color-heading text-adaptive">Commercial License</div>
</div>
</div>
</div>
</div>
</section> -->
<!-- Footer 1 -->
<footer class="footer_1 bg-dark pt-75 pb-65 text-center">
<div class="container px-xl-0">
<div class="row justify-content-between align-items-center lh-40 links">
<div class="col-lg-4 col-sm-6 text-sm-right text-lg-left order-1 order-lg-0" data-aos-duration="500" data-aos="fade-down" data-aos-delay="250">
<!-- <a href="#" class="mr-15 link color-white">About</a>
<a href="#" class="mx-15 link color-white">Policy</a> -->
<!-- <a href="#" class="mx-15 link color-white">Terms</a> -->
</div>
<div class="mb-10 mb-lg-0 col-lg-auto order-0" data-aos-duration="500" data-aos="fade-down" data-aos-delay="0">
<a href="#" class="logo link color-white">Razor network</a>
</div>
<div class="col-lg-4 col-sm-6 text-sm-left text-lg-right order-2 order-lg-0" data-aos-duration="500" data-aos="fade-down" data-aos-delay="250">
<!-- <a href="#" class="mr-15 link color-main">Contacts</a> -->
<a href="https://github.com/razor-network" class="mx-15 link color-white"><i class="fab fa-2x fa-github"></i></a>
<a href="https://twitter.com/razor_network" class="mx-15 link color-white"><i class="fab fa-2x fa-twitter"></i></a>
<a href="https://t.me/razornetwork" class="mx-15 link color-white"><i class="fab fa-2x fa-telegram "></i></a>
<a href="https://discord.gg/3kvXUye" class="mx-15 link color-white"><i class="fab fa-2x fa-discord "></i></a>
</div>
</div>
<div class="row justify-content-center">
<div class="mt-10 col-xl-4 col-lg-5 col-md-6 col-sm-8" data-aos-duration="500" data-aos="fade-down" data-aos-delay="0">
<div class="color-white text-adaptive">
© 2019 All rights reserved
<!-- Be sure to take a look at our <a href="#" class="link color-heading">Terms of Use</a> <br />
and <a href="#" class="link color-heading">Privacy Policy</a> -->
</div>
</div>
</div>
</div>
</footer>
<!-- forms alerts -->
<div class="alert alert-success alert-dismissible alert-form-success" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button>
Thanks for your message!
</div>
<div class="alert alert-warning alert-dismissible alert-form-check-fields" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button>
Please, fill in required fields.
</div>
<div class="alert alert-danger alert-dismissible alert-form-error" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button>
An error occurred while sending data :(
</div>
<!-- popup with video -->
<div class="overlay"></div>
<div class="video_popup">
<a class="close">
<img srcset="i/[email protected] 2x" src="i/close_white.png" alt="" />
</a>
<div class="d-flex align-items-center justify-content-center w-full h-full iframe_container"></div>
</div>
<script src="js/slick.min.js"></script>
<script src="js/aos.min.js"></script>
<script src="js/jquery.maskedinput.min.js"></script>
<script src="js/script.js"></script>
<script>
function sleep(ms) {
return new Promise(resolve => setTimeout(resolve, ms));
}
function animateCSS(element, animationName, callback) {
const node = document.querySelector(element)
node.classList.add( animationName)
if (typeof callback === 'function') callback(element, animationName)
// node.addEventListener('animationend', handleAnimationEnd)
}
function handleAnimationEnd(element, animationName) {
const node = document.querySelector(element)
node.classList.remove( animationName)
// node.classList.add('animated', 'fadeOutDown')
node.removeEventListener('animationend', handleAnimationEnd)
if (typeof callback === 'function') callback()
}
async function main() {
elements = ['Prediction markets',
'Insurance',
'Synthetic assets',
'Stablecoins',
'Identity',
'Atomic swaps',
'Finance',
'Lending']
let element = '.finance'
let node = document.querySelector(element)
node.classList.add('faster')
while(true) {
for (let i =0; i<elements.length; i++) {
// handleAnimationEnd('.finance', 'fadeOutDown')
node.classList.remove( 'fadeOutDown')
node.classList.add('fadeInDown')
await sleep(600)
node.classList.remove( 'fadeInDown')
node.classList.add('fadeOutDown')
await sleep(600)
// animateCSS('.finance', 'fadeInDown')
node.innerHTML = elements[i]
}
}
}
main()
</script>
</body>
</html>