Mint Art Blocks directly from the blockchain (no off‑chain APIs). Prototype static site designed for GitHub Pages hosting.
Hosted on github pages at https://ryley-o.github.io/ab-mint-onchain/
docs/: Static site served by GitHub Pagesindex.html: UI scaffold with wallet connect buttonstyles.css: Minimal styles (dark theme)app.js: EIP‑1193 wallet integration, reactive account/chain handling.nojekyll: Ensures Pages serves files as-is
Because this is a static site, you can serve docs/ with any HTTP server.
Option 1: Python 3
cd docs
python3 -m http.server 8080Option 2: Node.js (http-server)
npx --yes http-server docs -p 8080 -c-1Then open http://localhost:8080 in a browser with an injected wallet (e.g., MetaMask). Use a test network like Sepolia for development.
This repo is configured to serve static content from the docs/ directory:
- Push changes to
main(or your default branch) - In GitHub → Settings → Pages, set:
- Source:
Deploy from a branch - Branch:
main - Folder:
/docs
- Source:
- Save. Your site will be available at
https://<your-username>.github.io/<repo-name>/.
No build step is required.
- Detect injected EIP‑1193 provider
- Connect wallet via
eth_requestAccounts - Reactive UI updates on
accountsChanged,chainChanged,connect,disconnect - Display account, chain, and ETH balance (from wallet RPC)
- Support for RAM V0 minters
- Minimal project support
- Improved project support and discovery
This is experimental software. Always test on a testnet before using mainnet.