Skip to content

dysntr/superclusternft

Repository files navigation

Supercluster NFT Code

This project can be used to deploy/mint NFTs. The contracts are based on OpenZeppelin Wizard.

The solidity contract adds the following to the default template:

  • A TrustedBroadcastAddress address
  • An nftTransfer event, that fires on transfers
  • A setTBA(address _TBA) function that allows the change of TrustedBroadcastAddress by owner

To use the Mint function, you will have to update the contractAddress to point to the NFT contract you want to mint.

For the HackFS22, we deployed the following NFT contracts to polygon:

  Green Warrior NFT Contract Address: 0x57E7546d4AdD5758a61C01b84f0858FA0752e940
  Mandelbrot Wizard NFT Contract Address: 0xEE232b653c862A2d94EC66F7f2596307Bc483dBE
  Galactic Traveler NFT Contract Address: 0xc9397648428436C6dd838bDaD2D5f484b80af7dA
  Recipe guardian Contract Address: 0x8900A5Cc4235392d9981D4C1dD373f13d89962Bb

A call can be made to the mint function to mint an NFT. The NFT function requires a wallet address and the NFT JSON URI as parameters.

Here is a list of the NFT JSONs for Supercluster:

  List of Supercluster NFT jsons:
  Green Warrior - "ipfs://bafkreih4msosv74zxrxffbgysc7dztu4ficbxqxjvc5u563cbun7zu5xm4"
  Mandelbrot Wizard - "ipfs://bafkreic23ytqfhkeoc5mwvpwlrl7m5q3m47cwkvjv7peenejxzlzeqswsy"
  Galactic Traveler - "ipfs://bafkreibdwudd4snhxuieck5nyq5ho6e5tohszbq47kn3uox7q7kkmcb2yq"
  Recipe Guardian - "ipfs://bafkreihvcifpkay3q7jzjqrdtrc34loqcw4iiquasl36xcpn3pj6dbla2y"

NFT.STORAGE was used for storing and pinning the NFT JSON and Image files.

Here is the break down of contracts and corresponding NFT URI and NFT Image (IPFS CIDs):

Green Warrior - 0x57E7546d4AdD5758a61C01b84f0858FA0752e940

  • NFT URI CID - bafkreih4msosv74zxrxffbgysc7dztu4ficbxqxjvc5u563cbun7zu5xm4
  • NFT Image CID - bafybeigpwzgifof6qbblw67wplb7xtjloeuozaz7wamkfjvnztrjjwvk7e

Mandelbrot Wizard - 0xEE232b653c862A2d94EC66F7f2596307Bc483dBE

  • NFT URI CID - bafkreic23ytqfhkeoc5mwvpwlrl7m5q3m47cwkvjv7peenejxzlzeqswsy
  • NFT Image CID - bafybeibwj2xwhrlqzkab6xm36b2mm75wxasohli6vpsugbcqwrcwbxxwgy

Galactic Traveler - 0xc9397648428436C6dd838bDaD2D5f484b80af7dA

  • NFT URI CID - bafkreibdwudd4snhxuieck5nyq5ho6e5tohszbq47kn3uox7q7kkmcb2yq
  • NFT Image CID - bafkreih4qff27ocjrwkq5fxtmfapcbuoz7kdvbed3wp7etsfjwjonrnngy

Recipe Guardian - 0x8900A5Cc4235392d9981D4C1dD373f13d89962Bb

  • NFT URI CID - bafkreihvcifpkay3q7jzjqrdtrc34loqcw4iiquasl36xcpn3pj6dbla2y
  • NFT Image CID - bafybeidj7emhfwiutzy6cvsuogyu6ugc4hoglxkgaf5hoqakrqb5wjjvse

If you have any questions you can reach out to me on twitter @dysntr.