Skip to content

Papabull47/hyper-claude

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Hyper Claude mint site

Static single-page mint UI. No build step, no framework. Drop public/ into Cloudflare Pages (or Netlify/Vercel) and it works.

Structure

site/
  public/
    index.html         main page — mint UI, eligibility check, stats
    placeholder.png    hero image (pre-reveal)
    proofs/            one JSON per allowlisted address

Configure for network

Edit the top of public/index.html:

const CONTRACT_ADDR = '0x...';          // HyperClaude contract
const CHAIN_ID_HEX  = '0x3e6';          // 998 testnet, 0x3e7 for 999 mainnet
const CHAIN_NAME    = 'HyperEVM Testnet';
const RPC_URL       = 'https://rpc.hyperliquid-testnet.xyz/evm';
const EXPLORER      = 'https://explorer.hyperliquid-testnet.xyz';

Also replace REPLACE_WITH_GOOGLE_FORM_URL with the registration form URL.

Refresh proofs

Whenever the allowlist changes:

cd ../generator
python3 merkle_allowlist.py --input allowlist_mainnet.txt --outdir merkle_out_mainnet
# generator now cleans the proofs dir on each run — no stale proofs
rsync -a --delete merkle_out_mainnet/proofs/ ../site/public/proofs/

Then call setAllowlistRoot(<new root>) on the contract via the Safe.

Deploy to Cloudflare Pages

  1. Create a GitHub repo, push site/public/ contents.
  2. Cloudflare dashboard → Pages → Create project → Connect to Git.
  3. Build command: (leave empty)
  4. Build output directory: / (or public if you push the parent)
  5. Save + deploy. Default URL is <project>.pages.dev.
  6. Add custom domain hyperclaude.art once you own it.

Local preview

cd public
python3 -m http.server 8000
# open http://localhost:8000

Current testnet state

  • Contract: 0x547532665d9B2Be74F1d4727d3434b5D544Fa9Ad (chain 998)
  • Merkle root: 0xeaa65cbf343805ffab7f488810a821e2169b80555e32ee61a999eab36d117444
  • Proofs in public/proofs/ are the 10 testnet addresses (deployer + tester + 8 sentinels)

Security notes

  • Proofs in public/proofs/ are public — merkle proofs are not secret.
  • Anyone can list the proofs directory to enumerate the allowlist. If that's undesired, serve them via a Cloudflare Worker that checks the connected wallet signature before returning the proof.
  • Mint protection is on-chain (merkle root). The site is a convenience UI; even a forked site can't mint for a non-allowlisted address.

Pre-launch checklist

  • Mainnet contract deployed + verified on explorer
  • Contract address + chain config swapped in index.html
  • Mainnet merkle root set on contract
  • Mainnet proofs synced to public/proofs/
  • Real revealed art available as revealed/<id>.png (post-reveal only)
  • OG/Twitter meta tags verified (og.png uploaded)
  • Custom domain hyperclaude.art pointed at Pages
  • Mobile tested (iOS Safari, Android Chrome)
  • Testnet dry-run with multiple wallets (done for one wallet on 2026-04-18)

About

2,222 procedural hyper claudes on hyperevm

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages