Giter Club home page Giter Club logo

nftgenerator's Introduction

NFTGenerator

💻 Website

🛠️ Installation

To set up the project run the following command

git clone https://github.com/alexandrepletty/NFTGenerator.git

Go to the root of your folder and run this command to install the packages

yarn install

You can also run with npm.

npm install

📰 Usage

In the root of the folder run the command then follow the instructions

node App.js

or

yarn build

🖼 Import image

In the input folder, add the different parts to make up your NFT (example folder: 1-background, 2-eye, 3-hair, etc.)

Please note the order of the files is important add a number in the name of your file. In the folders you created add 3 additional folders to define the rarity of the NFT:

  • original
  • rare
  • super_rare

You can then separate the items based on their rarity.

For the moment the script generates 2 super rare NFTs, 4 rare NFTs and the rest will be original NFTs

📑 Metadata

When the NFTs are generated, they will be saved in the output folder in PNG format. A metadata.json file will also be created in the same folder with all the information for each NFT.

🎫 DNA

If you see in the console‼ DNA exists, it means he tried to create an NFT that exists. You just have to let the script run until it stops.

It is not possible to create identical NFTs.
If you have‼ DNA exists several times in a row, it means that it cannot create more NFTs. You will be able to close the console.

🦺 Update

NFTGenerator, is a script to simply and easily generate NFTs, some functionality is still missing to improve this service.

Subsequently, during the next update, I will set up a system to generate NFTs by type for example, NFTs of dog type with different breed of different color.

I will also update the rarity system to set a rarity percentage. And lots of little additional improvement if this script pleases.

nftgenerator's People

Contributors

alexandrepletty 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.