-
Notifications
You must be signed in to change notification settings - Fork 55
Expand file tree
/
Copy pathindex.html
More file actions
76 lines (64 loc) · 2.04 KB
/
index.html
File metadata and controls
76 lines (64 loc) · 2.04 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
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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>HTML Bitcoin Example</title>
<link rel="stylesheet" href="css/App.css" />
</head>
<body>
<div class="pages" id="app">
<img src="/reown.svg" alt="Reown" style="width: 150px; height: 150px" />
<h1>AppKit Bitcoin VanillaJS dApp Example</h1>
<!-- AppKit UI Components -->
<div class="button-group">
<appkit-button />
</div>
<!-- Modal Controls -->
<div class="button-group">
<button id="open-connect-modal" data-connected-only>Open Connect Modal</button>
<button id="disconnect" data-connected-only>Disconnect</button>
<button id="sign-message" data-connected-only>Sign Message</button>
<button id="get-balance" data-connected-only>Get Balance</button>
</div>
<!-- State Displays -->
<section id="balanceSection" style="display: none;">
<h2>Balance</h2>
<pre id="balanceState"></pre>
</section>
<section id="txSection" style="display: none;">
<h2>Tx</h2>
<pre id="txState"></pre>
</section>
<section id="signatureSection" style="display: none;">
<h2>Signature</h2>
<pre id="signatureState"></pre>
</section>
<section>
<h2>Account</h2>
<pre id="accountState"></pre>
</section>
<section>
<h2>Network</h2>
<pre id="networkState"></pre>
</section>
<section>
<h2>Modal State</h2>
<pre id="appKitState"></pre>
</section>
<section>
<h2>Theme</h2>
<pre id="themeState"></pre>
</section>
<section>
<h2>Events</h2>
<pre id="events"></pre>
</section>
<section>
<h2>Wallet Info</h2>
<pre id="walletInfo"></pre>
</section>
</div>
<script type="module" src="/src/main.js"></script>
</body>
</html>