-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
41 lines (38 loc) · 1.62 KB
/
Copy pathindex.html
File metadata and controls
41 lines (38 loc) · 1.62 KB
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
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/html">
<head>
<meta charset="UTF-8">
<title>Solidity Contract Interaction</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3"
crossorigin="anonymous">
</head>
<body class="d-flex h-100 text-center text-white bg-dark">
<div class="cover-container d-flex w-100 h-100 p-3 mx-auto flex-column">
<header class="mb-auto">
<div>
<h3 class="float-md-start mb-0">Solidity Contract Interaction</h3>
<nav class="nav nav-masthead justify-content-center float-md-end">
<button id="enableMM" type="button" class="btn btn-primary btn-sm">Connect to MetaMask</button>
</nav>
</div>
</header>
<main class="g-3" style="align-content: center; padding: 200px;">
<h2>This site writes a secret message to the Ethereum blockchain!</h2>
<p class="lead" id="address">{ address of the connected wallet }</p>
<p class="lead">
<div class="input-group mb-3">
<input type="text"
id="userInput"
class="form-control"
placeholder="Your message "
aria-label="Recipient's username"
aria-describedby="button-addon2">
<button class="btn btn-outline-secondary" type="button" id="setMessageButton">Send</button>
</div>
</main>
</div>
<script type="text/javascript" src="bundle.js"></script>
</body>
</html>