This is a Next.js frontend + backend app that lets you:
- Log in to you MetaMask Wallet
- List the NFTs that you own on Polygon
- Have the NFTs sent to your email address as Apple Wallet Coupons
- Scan the coupons from your Apple Wallet to verify them in this app
In order to run this app you have to:
a. Install ImageMagick in your env
b. Put the certificate required to generate Apple Wallet passes, signed with your private key, in /resources/cert/NFT2WalletSignerCert.pem
(see tynovyatkin/pass-js for more details)
c. create an .env
file in the app's root folder with the following contents (more info about moralis SDK setup here):
NEXT_PUBLIC_SERVER_URL=<your moralis server url here>
NEXT_PUBLIC_APP_ID=<your moralis app id here>
To run in locally with a dev server:
yarn install
yarn dev
License:
NFT2Wallet is MIT Licensed