Frames are the perfect way for DAO members, alpha-group members and NFT communities to show their allegiance to the cause without replacing their whole profile picture
You can read about why we created frames and how we plan to grow them on our blog.
TL;DR: All you have to do is add a field called frameImage
to your metadata.
Here's ours for example.
Okay, so if you want the longer version (it's still only about an hour total of work), here we go:
1. Confirm your NFT is on Mainnet Ethereum.At this time PFPKit only supports Mainnet Ethereum NFTs. We'd love to support more over time so if you wanna help us out, get in touch. Or feel free to fork PFPKit and build your own!
2. Design a frameTechnically this can be any square image with some transparency. We think circular frames work best, but it's totally up to you.
Here are some example frames we really like:
3. Host your frame somewhereWe need to get a URI that's publicly accessible for your frame's image.
We suggest using (NFT Storage by Protocol Labs)[https://nft.storage], it's decentralised and so easy to use!
You could of course use any image hosting service at all as long as you get a URI back.
4. Update your NFT metadataThis is easy.
You will have created a JSON metadata file when you created your NFT.
It will have had things like name
, description
, and image
.
All we're gonna do is add another field called frameImage
with the value set to the URL from step 3.
If you have an ERC-721 NFT then you can actually give each NFT a different frame. As an example here's ours from MDTP.
If you have an ERC-1155 NFT, each holder will get the same frame. As an example here's our partner MintCalendar's.
5. Upload the metadataNow you need to upload your JSON file somewhere. This is basically the same process as step 3.
You should get a URI back.
6. Update the contractFinally you have to update your NFT's metadata on the contract.
There should be a function like setBaseMetadataURI
.
You need to use the URI from step 5 and submit the transaction.
You're done! ๐ Sometimes it takes a few days for the metadata to be updated on PFPKit so reach out to us and we'll do it for you straight away.
Now go update your PFP and tell all your friends!
Yep, reach out to us. For a small fee, we'd even be happy to help get all the technical details set up.
We've done it as quickly as 1 hour for some teams ๐