-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
88 lines (78 loc) · 3.27 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
<!doctype html>
<html lang="en">
<head>
<link rel="stylesheet" href="styles.css">
<script src="https://cdn.jsdelivr.net/npm/web3@latest/dist/web3.min.js"></script>
<script src="https://unpkg.com/moralis/dist/moralis.js"></script>
<script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
<script src="script.js"></script>
</head>
<body>
<section class="ftco-section">
<div class="container">
<div class="row justify-content-center">
<div class="col-md-6 text-center mb-5">
<h2 class="heading-section">BLOCKCHAINS AND NFTs</h2>
</div>
</div>
<div class="row justify-content-center">
<div class="col-md-12">
<div class="wrapper">
<div class="row no-gutters">
<div class="col-lg-7 col-md-7 order-md-last d-flex align-items-stretch">
<div class="contact-wrap w-100 p-md-5 p-4">
<h3 class="mb-4"><u>Information about transactions</u></h3>
<form id="formReg" name="regForm" class="contactForm">
<div class="row">
<div class="col-md-6">
<div class="form-group">
<label class="label" for="name"><h6><b>User Address</b></h6></label><br>
<input type="text" id="addressno" placeholder="Enter user Address">
</div>
</div>
</div>
</form>
<div class="content" id="menu" style="display: block;">
<br>
<h4 class="mb-4">Choose one the following:</h4>
<table width="85%" class="mb-4"><tr>
<td><button class="btn btn-primary" onclick="getNFTs()">Get NFTs owned</button>
<td><button class="btn btn-primary" onclick="getTransactions()">Get Transaction history</button>
<td><button class="btn btn-primary" onclick="getBalance()">Get Balance</button>
</tr></table>
</div>
<div id="body_space"></div>
</div>
</div>
<div class="col-lg-5 col-md-4 d-flex align-items-stretch">
<div class="info-wrap bg-primary w-100 p-md-5 p-4">
<h3>Help Page</h3>
<h6 style="color:white"><b>Sample address: </b>0x69023dddab45f345f2b683c180001d017fc0a540</h6>
<p class="mb-4">This application has following: </p>
<div class="dbox w-100 d-flex align-items-start">
<div class="text pl-3">
<p><span><b>Get NFTs owned: </a></b></span>You can see the list of all ERC721 NFTs owned by a particular user address.</p></div>
</div>
<div class="dbox w-100 d-flex align-items-start">
<div class="text pl-3">
<p><span><b>Get transaction history: </a></b></span>You can see the last few transactions (<=20) involving a particular user address.</p></div>
</div>
<div class="dbox w-100 d-flex align-items-start">
<div class="text pl-3">
<p><span><b>Get balance: </a></b></span>You can see the ether account balance in a particular user account.</p></div>
</div>
<div class="dbox w-100 d-flex align-items-start">
<div class="text pl-3">
<p><span><b>By Somya Gupta</b><br></span>IIT Kanpur</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
</body>
</html>