Giter Site home page Giter Site logo

polygonmeta's Introduction

AI Collection NFT Contract

Overview

This Solidity smart contract deploys an ERC721A-based NFT collection named "AI Collection" on the Ethereum blockchain. The collection consists of five unique AI-themed items, each with a distinct description. Additionally, the contract supports metadata storage on IPFS using the base URI "ipfs://QmXppnKSEp3opCDc4jDv1wVwekp1UDwGFcntioXAB4jE7J/BeretDog". The contract owner has the exclusive right to mint batches of these NFTs and retrieve the prompt descriptions used for image generation.

Features

  1. Deploy an ERC721A-based NFT collection on Ethereum.
  2. Store metadata on IPFS using a predefined base URI.
  3. Mint batches of NFTs, with ownership restricted to the contract owner.
  4. Retrieve prompt descriptions used for image generation.

Contract Details

  • Contract Name: AICollection
  • Symbol: PDC (AI Collection)
  • Base URI: ipfs://QmXppnKSEp3opCDc4jDv1wVwekp1UDwGFcntioXAB4jE7J/BeretDog

Mint Batches

The contract owner can mint batches of NFTs using the MintBatches function. This function requires the recipient's address and the quantity of NFTs to be minted.

function MintBatches(address to, uint quantity) public onlyOwner {
    _safeMint(to, quantity, "");
}

Prompt Descriptions

The promptDescription function allows anyone to retrieve an array of AI collection descriptions used for image generation.

function promptDescription() public view returns (string[] memory) {
    return collectionDescriptions;
}

Polygon Mumbai Bridge

The contract has been bridged to Polygon Mumbai using the Foundry script along side the FxPortal Bridge.

polygonmeta's People

Contributors

devpelz avatar mujibat avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.