forked from supertestnet/inscriptions-online
-
Notifications
You must be signed in to change notification settings - Fork 44
/
Copy pathbridge.html
91 lines (76 loc) · 3.49 KB
/
bridge.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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, user-scalable=no"/>
<link rel="shortcut icon" type="image/png" href="favicon.png">
<link rel="preconnect" href="https://fonts.googleapis.com">
<title>LooksOrdinal | ord/eth bridge</title>
<link rel="stylesheet" href="css/styles.1.0.1.css">
<script src="js/lib/jquery.3.6.4.js"></script>
<script src="js/lib/socket.io.4.4.1.js"></script>
<script src="js/lib/web3.min.js"></script>
</head>
<body>
<nav>
<ul>
<li id="logo"><a href="index.html">looks◉rdinal >></a></li>
<li><a href="index.html">inscribe</a></li>
<li>|</li>
<li class="active">brc20 trading</li>
<li>|</li>
<li><a href="universe.html">$univ</a></li>
</ul>
</nav>
<div class="app-wrapper">
<h1>Ord/Eth Bridge</h1>
<h6 style="margin-top: -15px;">
Bridge Bitcoin Ordinals to Ethereum NFTs and back again. See <a href="https://opensea.io/collection/ordinals-bridge" target="_blank">Collection on OpenSea</a>. Join our <a href="https://discord.gg/Ur8XGaurSd" target="_blank">Discord</a>.
</h6>
<p style="margin-bottom: 30px;margin-top: -30px;">
Our bridge now supports BRC-20 tokens. Follow <a href="https://medium.com/@rarity.garden/how-to-buy-and-sell-bitcoin-brc-20-tokens-on-ethereum-8177dbf50333" target="_blank">this guide</a> on how to buy & sell as well as bridge and return.
</p>
<button style="display: none;" className="btn btn-primary" id="rn-connect-metamask">CONNECT WALLET</button>
<div id="message-main" style="display: none;"></div>
<h3>>> Bridge Ordinal to Ethereum</h3>
<div>
<div>
<div id="message-bridge" style="display: none;"></div>
<input id="bridge-field" type="text" placeholder="Enter Inscription ID (not number)"/>
<div id="fee-info" style="display: none;font-size: 16px;">
Recommended fee:
<span class="fee" style="font-size: 16px;"></span> sat/vB
</div>
</div>
<div style="font-size: 14px; margin-bottom: 15px;color:gray;">You need to be connected with your Ethereum
wallet in order to bridge your Ordinal. Once bridged, you will be able to mint its corresponding NFT.
</div>
<div>
<button id="bridge">Bridge</button> <span style="display: none;" class="loading dots">.</span>
</div>
<div id="mint-jobs"></div>
</div>
<h3>>> Return Ordinal</h3>
<div>
<div>
<div id="message-return" style="display: none;"></div>
<input id="return-field" type="text" placeholder="Enter Inscription ID (not number)"/>
</div>
<div style="font-size: 14px; margin-bottom: 15px;color:gray;">You need to be in possession of the bridged NFT and connected with your Ethereum
wallet in order to return your Ordinal.
</div>
<div>
<button id="return">Return</button>
</div>
<div id="vault-list" style="max-height: 200px; overflow: auto;"></div>
<div id="message-vault" style="display: none;"></div>
</div>
<ul class="list-group" id="latest-bridged"></ul>
</div>
<script src="js/app/app-config.1.0.8.js"></script>
<script src="js/app/bridge/connectwallet.1.0.3.js"></script>
<script src="js/app/bridge/tools.1.0.0.js"></script>
<script src="js/app/bridge/ordinalsBridgeABI.js"></script>
<script src="js/app/bridge/ordinal_bridge.1.0.1.js"></script>
</body>
</html>