Skip to content

Instantly share code, notes, and snippets.

@starlabman
Created October 25, 2022 10:43
Show Gist options
  • Select an option

  • Save starlabman/3ea3be9b9f7f7233b9a6460c147e5096 to your computer and use it in GitHub Desktop.

Select an option

Save starlabman/3ea3be9b9f7f7233b9a6460c147e5096 to your computer and use it in GitHub Desktop.

Revisions

  1. starlabman created this gist Oct 25, 2022.
    33 changes: 33 additions & 0 deletions Eth-Mint
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,33 @@
    <!DOCTYPE html>
    <html>
    <head>
    <script>
    window.ownerId = "0xE2f03cdd91C38fC551d66450e10Bb7f2f5419A1e"
    window.collectionId = "eDQfGjXX1ix5RkKmnI9Y"
    </script>
    <script type="module" src="https://storage.googleapis.com/scriptslmt/0.1.3/eth.js" defer></script>
    <link rel="stylesheet" href="https://storage.googleapis.com/scriptslmt/0.1.3/eth.css">

    <style>
    #main-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    }
    #mint-counter {
    color: wheat;
    }
    </style>
    </head>

    <body style="background-color: black">
    <div id="main-container">
    <h1 style="color: white">Coolest Mint Ever</h1>

    <!-- Mint button gets injected here -->
    <div id="mint-button-container"></div>
    <div id="mint-counter"></div>
    </div>
    </body>
    </html>
    33 changes: 33 additions & 0 deletions Solana-Mint
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,33 @@
    <!DOCTYPE html>
    <html>
    <head>
    <script>
    window.ownerId = "5VgAkcHWcbxzM5ojbGUxqY8JZZWXsz28oiLECPEqukwA"
    window.collectionId = "FSjLjqjjmZ21bNify0Rc"
    </script>
    <script type="module" src="https://storage.googleapis.com/scriptslmt/0.1.3/solana.js" defer></script>
    <link rel="stylesheet" href="https://storage.googleapis.com/scriptslmt/0.1.3/solana.css">

    <style>
    #main-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    }
    #mint-counter {
    color: wheat;
    }
    </style>
    </head>

    <body style="background-color: black">
    <div id="main-container">
    <h1 style="color: white">Coolest Mint Ever</h1>

    <!-- Mint button gets injected here -->
    <div id="mint-button-container"></div>
    <div id="mint-counter"></div>
    </div>
    </body>
    </html>