-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
107 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,106 +1,132 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
<head> | ||
<head> | ||
<title>Obscuro Gateway</title> | ||
<link rel="icon" type="image/png" sizes="32x32" href="favicon-32x32.png"> | ||
<script src="https://cdn.ethers.io/lib/ethers-5.2.umd.min.js" type="application/javascript"></script> | ||
<link rel="icon" type="image/png" sizes="32x32" href="favicon-32x32.png" /> | ||
<script | ||
src="https://cdn.ethers.io/lib/ethers-5.2.umd.min.js" | ||
type="application/javascript" | ||
></script> | ||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script> | ||
<script type="module" src="javascript.js"></script> | ||
<link rel="stylesheet" href="style.css"> | ||
</head> | ||
<link rel="stylesheet" href="style.css" /> | ||
<script | ||
strategy="lazyOnload" | ||
src="https://www.googletagmanager.com/gtag/js?id='GOOGLE_ANALYTICS_ID'" | ||
></script> | ||
<script id="google-analytics"> | ||
window.dataLayer = window.dataLayer || []; | ||
function gtag() { | ||
dataLayer.push(arguments); | ||
} | ||
gtag("js", new Date()); | ||
gtag("config", "GOOGLE_ANALYTICS_ID"); | ||
</script> | ||
</head> | ||
|
||
<body> | ||
<body> | ||
<div class="container-fluid"> | ||
<img src="obscuro.svg" alt="Obscuro logo" class="logo"> | ||
<img src="obscuro.svg" alt="Obscuro logo" class="logo" /> | ||
</div> | ||
|
||
<div class="spinner" id="spinner"></div> | ||
|
||
<div class="wrapper"> | ||
<div class="card-track"> | ||
<div class="card"> | ||
<div class="card-image"> | ||
<div class="begin-box" id="begin-box"> | ||
<h2 id="welcome">Welcome to the Obscuro Gateway</h2> | ||
<form> | ||
<div id="information"> | ||
Three clicks to setup encrypted communication between MetaMask | ||
and the Obscuro Network.: | ||
<ol> | ||
<li>Hit Connect to Obscuro and start your journey</li> | ||
<li> | ||
Allow MetaMask to switch networks to the Obscuro Testnet | ||
</li> | ||
<li> | ||
Sign the <b>Signature Request</b> (this is not a | ||
transaction) | ||
</li> | ||
</ol> | ||
</div> | ||
|
||
<div class="wrapper"> | ||
<div class="card-track"> | ||
<div class="card"> | ||
<div class="card-image"> | ||
<div class="begin-box" id="begin-box"> | ||
<h2 id="welcome">Welcome to the Obscuro Gateway</h2> | ||
<form> | ||
<div id="information">Three clicks to setup encrypted communication between MetaMask and the Obscuro | ||
Network.: | ||
<ol> | ||
<li> | ||
Hit Connect to Obscuro and start your journey | ||
</li> | ||
<li> | ||
Allow MetaMask to switch networks to the Obscuro Testnet | ||
</li> | ||
<li> | ||
Sign the <b>Signature Request</b> (this is not a transaction) | ||
</li> | ||
</ol> | ||
</div> | ||
<span id="moreInfo"> | ||
<button type="button">More info</button> | ||
</span> | ||
|
||
<span id="moreInfo"> | ||
<button type="button">More info</button> | ||
</span> | ||
|
||
<br> | ||
<div id="information2"> | ||
You are set up on Obscuro. Your connected accounts are below: | ||
</div> | ||
<a id="join" href="#"> | ||
<span></span> | ||
<span></span> | ||
<span></span> | ||
<span></span> | ||
Connect to Obscuro Testnet | ||
</a> | ||
<table id="accountsTable" border="1"> | ||
<thead> | ||
<tr> | ||
<th>Account</th> | ||
<th>Connected</th> | ||
</tr> | ||
</thead> | ||
<tbody id="tableBody"> | ||
<!-- Rows will be added here --> | ||
</tbody> | ||
</table> | ||
<button class="btn btn-primary btn-lg btn-block mb-3 joined-button" id="revokeUserID">Revoke | ||
Accounts</button> | ||
<button class="btn btn-primary btn-lg btn-block mb-3 joined-button" id="requestTokens" | ||
onclick=" window.open('https://discord.gg/crRtBAWFjx','_blank')">Request tokens on Discord</button> | ||
<p id="status"></p> | ||
</form> | ||
<br /> | ||
<div id="information2"> | ||
You are set up on Obscuro. Your connected accounts are below: | ||
</div> | ||
<a id="join" href="#"> | ||
<span></span> | ||
<span></span> | ||
<span></span> | ||
<span></span> | ||
Connect to Obscuro Testnet | ||
</a> | ||
<table id="accountsTable" border="1"> | ||
<thead> | ||
<tr> | ||
<th>Account</th> | ||
<th>Connected</th> | ||
</tr> | ||
</thead> | ||
<tbody id="tableBody"> | ||
<!-- Rows will be added here --> | ||
</tbody> | ||
</table> | ||
<button | ||
class="btn btn-primary btn-lg btn-block mb-3 joined-button" | ||
id="revokeUserID" | ||
> | ||
Revoke Accounts | ||
</button> | ||
<button | ||
class="btn btn-primary btn-lg btn-block mb-3 joined-button" | ||
id="requestTokens" | ||
onclick=" window.open('https://discord.gg/crRtBAWFjx','_blank')" | ||
> | ||
Request tokens on Discord | ||
</button> | ||
<p id="status"></p> | ||
</form> | ||
</div> | ||
<div class="card-gradient"></div> | ||
<div class="card-letters"></div> | ||
</div> | ||
<div class="card-gradient"></div> | ||
<div class="card-letters"></div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div id="versionDisplay"></div> | ||
|
||
<div id="modal-container"> | ||
<div class="modal-background"> | ||
<div class="modal"> | ||
<p>By connecting your wallet to Obscuro and signing the signature request you will get a unique user | ||
id, which is also your viewing key. It is contained in the RPC link and unique for each user. Do | ||
not share this unless you want others to see the details of your transactions.</p> | ||
<div class="modal-background"> | ||
<div class="modal"> | ||
<p> | ||
By connecting your wallet to Obscuro and signing the signature | ||
request you will get a unique user id, which is also your viewing | ||
key. It is contained in the RPC link and unique for each user. Do | ||
not share this unless you want others to see the details of your | ||
transactions. | ||
</p> | ||
|
||
<p> | ||
Signing the Signature Request is completely secure. It’s not a transaction so cannot spend any | ||
of your assets and it doesn’t give Obscuro control over your account. | ||
</p> | ||
<p> | ||
Basic RPC URL: https://testnet.obscu.ro | ||
<br> | ||
Chain ID: 443 | ||
</p> | ||
</div> | ||
<p> | ||
Signing the Signature Request is completely secure. It’s not a | ||
transaction so cannot spend any of your assets and it doesn’t give | ||
Obscuro control over your account. | ||
</p> | ||
<p> | ||
Basic RPC URL: https://testnet.obscu.ro | ||
<br /> | ||
Chain ID: 443 | ||
</p> | ||
</div> | ||
</div> | ||
</body> | ||
|
||
</div> | ||
</body> | ||
</html> |