Skip to content

A web app for creating an NFT collection and minting cNFTs

Notifications You must be signed in to change notification settings

dperdic/s8-compressed-nfts

Repository files navigation

S8 - Solana Compressed NFTs

Eight assignment for the Solana Summer Fellowship 2024.

Description

Assignment

Create a cNFT collection of your own profile picture and social links as metadata and airdrop it to other fellows.

Solution

Created a collection NFT and minted cNFTs from it. The collection NFT can be viewed here.

Building the app

Create a .env file based on the template provided.

To build the app use bun and install the depencencies.

bun i

After installing the dependencies run the dev server.

bun dev

Instructions

This app allows you to create any new compressed NFT collection of your choice.

  1. Connect your wallet

    1.1. Airdrop some SOL if you require it (devnet only)

  2. Create a Merkle tree or set an address of an existing Merkle tree

    2.1. Use the provided calculator to calculate the merkle tree parameters

  3. Create a Collection NFT or set an existing Collection address

    3.1. Upload an image to arweave using the image uploader and set the mimeType or set an existing image url and mimeType for the collection NFT

    3.2. Upload the metadata file using the Metadata uploader or set an existing metadata url for the collection NFT

    3.3. Set the name (required) and symbol (optional) of the collection to create it.

  4. Mint cNFTs to addresses

    4.1. Upload an image to arweave using the image uploader and set the mimeType or set an existing image url and mimeType for the cNFT

    4.2. Upload the metadata file using the Metadata uploader or set an existing metadata url for the cNFT

    4.3. Make sure that your Merkle tree, and collection NFT addresses are set before minting

    4.4. Set the name, symbol and a list of comma separated addresses

    4.5. Mint cNFTs to the addresses