Skip to content

Latest commit

 

History

History
29 lines (17 loc) · 805 Bytes

README.md

File metadata and controls

29 lines (17 loc) · 805 Bytes

Example Passport Claim Page

Built from WAGMI Next.js example

Example wallet connect & claim functionality for a Passport membership NFT contract.

Uses WAGMI for wallet connection & contract write hooks.

See Passage Docs for complete documentation.

Startup

Create an .env file in the root following .env.example

Add your Passport Contract address PASSPORT_CONTRACT_ADDRESS, ClaimList minting module contract address CLAIMLIST_MM_ADDRESS, and PricedMint minting module contract address PRICEDMINT_MM_ADDRESS into constant.tsx.

Change chain in _app.tsx configureChains hook to the chain where your Passport contract is

Install:

yarn install

Run:

yarn dev