Skip to content
Mermaid templates

NFT Mint Flow

User connects, signs allowlist proof and mints via contract.

Template previewMermaid
Rendering…

What this template contains

Diagram type
Sequence diagram
Source
19 lines

Make it your own.

sequenceDiagram
participant U as User
participant W as Wallet
participant FE as Mint dapp
participant SC as NFT contract (ERC-721)
participant IPFS as IPFS / metadata

U->>FE: open mint page
FE->>W: requestAccounts
W-->>FE: address
FE->>FE: lookup Merkle proof for allowlist
FE->>W: sign mint tx (value = price)
W->>SC: mint(qty, proof)
SC->>SC: verify proof against root
SC->>SC: _mint(to, tokenId)
SC-->>W: tx receipt
W-->>FE: confirmed
FE->>IPFS: fetch tokenURI
IPFS-->>FE: metadata + image
FE->>U: NFT preview