Skip to content

A project for creating epic NFTs directly and randomly on Ethereum blockchain - These NFTs can have 3 different shapes and different random colors

Notifications You must be signed in to change notification settings

mahdieh-dev/epic-nft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Epic NFT contract

Epic NFT is a website that connects to its smart contract and lets you create epic NFTs on the Ethereum blockchain.

This repository only contains the smart contract and it is deployed on the Goerli testnet.

The contract will create 3 different SVG shapes with various random colors.

Every address will have the chance to mint their own NFTs but it will have a maximum amount that will be specified by the web3 app that calls the makeAnEpicNFT function.

A cooldown timer of 1 minute is set after each minting process.

Built With

  • Solidity
  • Hardhat
  • Ethers
  • Ethereum-waffle

Live Demo

Click here to see the live demo.

Getting Started

To get a local copy up and running follow these simple steps.

Prerequisites

  • git: This is a version control system used for source code management.
  • A text editor (e.g Visual Studio Code (recommended), Sublime Text, Atom etc.)
  • Browser Engine on your terminal preferably NodeJs
  • Knowledge of solidity, blockchain and smart contracts

Setup

git clone https://github.com/mahdieh-dev/epic-nft.git
  • Once the files are on your machine, open the epic-nft folder in Visual Studio Code.

  • Create the following two files in the root directory:

    • hardhat.config.js: For specifying the hardhat config
    • .env: For specifying the environmental variables needed

Install

  • Open the VS Code integrated terminal and run the following commands:
npm install

This will install all the packages and dependencies used in the project.

Usage

  • Run the following commands:
# to get test accounts
npx hardhat accounts

# to run and test locally:
npx hardhat run scripts/run.js

# to deploy on the blockchain
npx hardhat run scripts/deploy.js

Authors

👩🏻‍💼 Mahdieh Shavandi

🤝 Contributing

Contributions, issues, and feature requests are welcome! Feel free to check the issues page.

Show your support

Give a ⭐️ if you like this project!

About

A project for creating epic NFTs directly and randomly on Ethereum blockchain - These NFTs can have 3 different shapes and different random colors

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published