Skip to content

operatorlabs/nft-frame-template

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NFT Template

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.

Usage

  1. Clone the repository
  2. Upload the your NFT metadata to the IPFS pinning service of your choice. You can try Pinaas if you don't have one.
  3. Navigate to the contracts directory. Run forge 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.
  4. Navigate to the app directory. Run npm 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.
  5. 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.
  6. Now, you can add the URL of your Frame in a Farcaster cast.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Solidity 100.0%