sol crypto terminal
This commit is contained in:
21
crypto/sol/templates/index.html
Normal file
21
crypto/sol/templates/index.html
Normal file
@ -0,0 +1,21 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Token Swapper</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Token Swapper</h1>
|
||||
<div>
|
||||
<button id="connectWallet">Connect Phantom Wallet</button>
|
||||
</div>
|
||||
<div>
|
||||
<input type="text" id="tokenName" placeholder="Enter Token Name">
|
||||
<input type="number" id="amount" placeholder="Enter Amount">
|
||||
<button id="swapToken">Swap Token</button>
|
||||
</div>
|
||||
<script src="https://cdn.jsdelivr.net/npm/@solana/web3.js"></script>
|
||||
<script src="app.js"></script>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user