-
Notifications
You must be signed in to change notification settings - Fork 6
/
index.html
70 lines (54 loc) · 1.75 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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Index</title>
<link rel="shortcut icon" type="png" href="favicon.ico">
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
<meta content="utf-8" http-equiv="encoding">
<link rel="stylesheet" href="index.css">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body style="background-color:black;">
<div style="min-height: 5vh"></div>
<div class="container">
<div class="center">
<button class="btn buttonConnectMetamask" id=enableEthereumButton></button>
</div>
</div>
<div style="min-height: 5vh"> </div>
<div class="container">
<div class="center">
<p style="color:white">storedData(): </p>
</div>
</div>
<div class="container">
<div class="center">
<p style="color:white" id="getValueStateSmartContract"></p>
</div>
</div>
<div style="min-height: 5vh"> </div>
<div class="container">
<div class="center">
<button class="changeStateInContractEvent btn buttonHighContrast">set(uint256 x)</button>
</div>
</div>
<div class="container">
<div class="center">
<input type="text" style="text-align:center" id="setValueSmartContract" placeholder="input uint value">
</div>
</div>
<div style="min-height: 5vh"> </div>
<div class="container">
<div class="center">
<form action="https://github.com/MarcusWentz/Web3_Get_Set_Contract_Metamask">
<input type="submit" class="btn buttonHighContrast" value="GitHub" />
</form>
</div>
</div>
<!-- ethers.js library import -->
<script src="https://cdn.ethers.io/lib/ethers-5.6.umd.min.js" type="text/javascript"></script>
<!-- Javascript for this page source -->
<script src="index.js"></script>
</body>
</html>