Aspyn
@aspyn
I created my first @farcaster frame to allow anybody to mint Based Moon NFTs on Farcaster I open-sourced my frame and below I explain how anybody can create their own NFT mint frame, based off my template, and share it for anyone to mint from ๐ https://based-moon-mint-frame.vercel.app/api
6 replies
3 recasts
8 reactions
Aspyn
@aspyn
Just a quick note, this tutorial assumes you have already deployed your NFT smart contract to a chain and that your smart contract has a mint function that allows the public to mint NFTs via your contract
1 reply
0 recast
0 reaction
Aspyn
@aspyn
First, fork the Farcaster Frames repo I created https://github.com/stuckinaboot/farcaster-frames Then, clone the `farcaster-frames` project locally Open up a terminal, run `cd farcaster-frames/frames/mint-based-moon-nextjs`, `yarn` and then `yarn dev`
1 reply
0 recast
0 reaction
Aspyn
@aspyn
Now go to your web browser and open http://localhost:3000/api/dev You should see the Mint Based Moon frame and can interact with it. Feel free to mint a Based Moon here ๐
1 reply
0 recast
0 reaction
Aspyn
@aspyn
Open the project in your favorite code editor and view the `route.tsx` file (`frames/mint-based-moon-nextjs/app/api/[[...routes]]/route.tsx`) From there, you can modify the contract address or the UI elements by updating the constants at the top: CONTRACT_ADDRESS, TITLE, etc.
1 reply
0 recast
0 reaction
Aspyn
@aspyn
Try modifying the TITLE constant, go back to your browser and refresh the page You should see the updated title
1 reply
0 recast
0 reaction