solutions/frontend/groth16.html

34 lines
1.2 KiB
HTML
Executable File

<!DOCTYPE html>
<html>
<head>
<title>Polkadot.js Integration</title>
<link rel="stylesheet" type="text/css" href="style.css">
<script src="js/bundle-polkadot-util.js"></script>
<script src="js/bundle-polkadot-util-crypto.js"></script>
<script src="js/bundle-polkadot-types.js"></script>
<script src="js/bundle-polkadot-api.js"></script>
<script src="js/bundle-polkadot-extension-dapp.js"></script>
</head>
<body>
<div class="sun"></div>
<div class="container">
<h2>Sustrate ZKP Pallet</h2>
<div class="nav-buttons">
<a href="index.html" class="nav-button">Plonk Verifier</a>
<a href="groth16.html" class="nav-button active">Groth16 Verifier</a>
</div>
<input type="file" id="fileInput" accept=".json">
<input type="file" id="fileInput2" accept=".key">
<button id="submitBtn">Submit</button>
<div id="loadingIndicator" class="loading-indicator"></div>
<div id="successIndicator" class="indicator success-indicator">&#10004;</div> <!-- Checkmark -->
<div id="failureIndicator" class="indicator failure-indicator">&#10006;</div> <!-- 'X' mark -->
</div>
<script src="script2.js"></script>
</body>
</html>