Giter Site home page Giter Site logo

ipfsdapps / eternalnft Goto Github PK

View Code? Open in Web Editor NEW

This project forked from abhinavxt/eternalnft

0.0 0.0 1.0 230 KB

A dapp to mint your own text-based NFT character. Built using Next.js, TailwindCSS, Hardhat, Solidity, and ethers.js

Home Page: https://eternal-nft.vercel.app

JavaScript 64.61% CSS 0.36% Solidity 35.02%

eternalnft's Introduction

EternalNFT

Table of Contents

Deployed Website url

https://eternal-nft.vercel.app/

Deployed Contract Address

0x9b6dd9b898c300037c8C245e8E619a0934158065

Project Description

A dapp to mint your own text-based Eternal Character NFT.

Eternal Characters are the residents of Eternal Domain world. They consist of 3 main characteristics, Area of Control, Weapon and Rank.

Area of Control - Fire, Wind, Wave, Earth, Light, Shadow, Thunder, Space, Time, Gravity, Ice Weapon - Sword, Spear, Shield, Hammer, Saber, Axe, Bow, Staff, Wand, Fist, Dagger, Scythe, Mace, Blade, Katana Rank - Lord, King, Emperor, Venerable, Ancestor, Saint, God

Workflow

  1. Enter the dApp and connect the wallet to rinkeby network.
  2. Click on the Mint Character button.
  3. Metamask pops up and asks to confirm the transaction.
  4. After the transaction is successfully processed the user can see the minted character.
  5. The minted character is also added to My NFT page under Minted Characters section.

Directory structure

EternalNFT
┣ client
┃ ┣ pages
┃ ┃ ┣ api
┃ ┃ ┃ ┗ hello.js
┃ ┃ ┣ \_app.js
┃ ┃ ┗ index.js
┃ ┣ public
┃ ┃ ┣ favicon.ico
┃ ┃ ┗ vercel.svg
┃ ┣ styles
┃ ┃ ┗ globals.css
┃ ┣ utils
┃ ┃ ┗ EternalNFT.json
┃ ┣ .gitignore
┃ ┣ README.md
┃ ┣ config.js
┃ ┣ package-lock.json
┃ ┣ package.json
┃ ┣ postcss.config.js
┃ ┗ tailwind.config.js
┣ contracts
┃ ┣ libraries
┃ ┃ ┗ Base64.sol
┃ ┗ EternalNFT.sol
┣ scripts
┃ ┗ deploy.js
┣ test
┃ ┗ eternalTest.js
┣ .gitignore
┣ README.md
┣ hardhat.config.js
┣ package-lock.json
┗ package.json

Clone, Install and Build steps

Prerequisites

  1. Git
  2. Node JS (everything was installed and tested under v15.12.0)
  3. A Browser with the MetaMask extension installed.
  4. Test Ether on the Rinkeby network.

Cloning and installing dependencies

  1. Clone the project repository on your local machine
 git clone https://github.com/AbhinavXT/EternalNFT.git
 cd EternalNFT
  1. Installing dependencies
  • For contracts -
    npm install
    
  • For client -
    cd client
    npm install
    

Testing Contracts

For testing contracts run command:

npx hardhat test

Running the frontend

For running frontend locally run command:

cd client
npm run dev

Environment variables (not needed for running project locally)

ALCHEMY_RINKEBY_URL =
ACCOUNT_KEY =

eternalnft's People

Contributors

abhinavxt avatar

Forkers

solidml

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.