Giter VIP home page Giter VIP logo

nftexplorer's Introduction

https://altura-nft-explorer.netlify.app/

NFT Explorer

Displays a list of NFTs (Non-Fungible Tokens) of a given address. Grid Card Dialog

Installation

npm install

Start

  • Copy the .env.example to .env
  • Put the Alchemy API KEY in .env
npm start

Technologies

  • React
  • TailwindCSS
  • Alchemy SDK
  • react-copy-to-clipboard
  • react-modal
  • classnames

Project Structure

  • assets (Include all the assets like images)
  • components (Include all the common and individual components like button, card, and dialog)
  • containers (Include all the containers like NavBar)
  • hooks (Include all the custom hooks like useAccountNfts)
  • pages (Include all the pages like Home)
  • utils (Include helpers and constants)

Requirements

  • The list of NFTs should be displayed as a grid of cards, with each card displaying the NFT's details.

  • When a user clicks on a card, a modal should be displayed that shows more details about the NFT, such as its description and the owner's address.

  • The modal should have a button that allows the user to purchase the NFT. Clicking the button should navigate them to the relevant OpenSea page.

What have you done

  • Got all NFTs of a given address using alchemy SDK.
  • Defined the custom hook(useAccountNFTs) to get all nfts.
  • Displayed NFT details using Card component.
  • Displayed NFT more details using Dialog by clicking Card.
  • Navigate the relevant OpenSea Page by clicking the "Purchase" button on the dialog.
  • Copy the address of token and owner by clicking
  • Added hover animation effect when you hover each card.

Self Evaluation :)

  • Correctness - 99%
  • Code Quality - 100%
  • User Experience- 100%

nftexplorer's People

Contributors

dojome avatar

Stargazers

Elias Mohammadi 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.