MINE
The current block hash, token number, wallet address and phase difficulty form the proof-of-work input. Run SHA-256 locally with CPU workers or WebGPU.
The browser does the work. The wallet authorizes the payment. The contract decides what is valid.
The current block hash, token number, wallet address and phase difficulty form the proof-of-work input. Run SHA-256 locally with CPU workers or WebGPU.
The browser checks the leading-zero difficulty and recomputes the proof hash before sending anything on-chain.
The current IMD price is read from the contract. When needed, the site asks for an ERC-20 approval, validates the proof on-chain, then submits the mint transaction.
After confirmation, the contract assigns a unique artwork ID. The tokenURI points at the revealed IPFS metadata for that artwork.