Template for creating an NFT based Farcaster Frame using Syndicate, OnchainKit, and IFPS.
It uses Syndicate for managed minting, OnchainKit for interacting with Frames, and IPFS for NFT metadata storage. It works by ensuring that only your proxy minter
can mint NFTs, and send them to any recipient.
It also uses a common NFT URI, meaning that the URI for the NFT is the same for all NFTs.
- Clone the repository
- Upload the your NFT metadata to the IPFS pinning service of your choice. You can try Pinaas if you don't have one.
- Navigate to the
contracts
directory. Runforge create
noting the parameters required for the constructor (NFT name, symbol, BaseURI, and minter). You should also change the name of the contract. You can refer to the Foundry documentation here for more information on how to configure your NFT deployment. - Navigate to the
app
directory. Runnpm install
. This will create a URL that is compatible with the Farcaster Frames system, which uses OpenGraph's to enable mint interactivity. Optionally, you can toggle recast and like checks for the mint. - Fund your Syndicate account with enough gas to mint your NFTs. This should be the same address as the minter you set in the contract constructor.
- Now, you can add the URL of your Frame in a Farcaster cast.