Logo

Alchemy NFT API Demo

Find, verify, and display any NFT, across all major blockchains, with ease.

About The Project

Screenshot 2022-02-03 at 18 11 09

Build your own multi-chain NFT Explorer using the new Alchemy NFT API!

Built on top of ReactJs, this repo showcase the functionalities of the Alchemy NFT API:

  • Keep track of your NFTs on Polygon, Ethereum, and Mumbai.
  • Search NFTs by collection
  • Filter by Smart Contract address

and display the images, attributes, collection name, and creator of your favourite NFTs.

Supporting both ERC1155 and ERC721!

Jan-21-2022 19-33-50-min

Built With

Getting Started

Getting started is super simple! Follow the following steps and start fetching NFTs on Ethereum, Polygon, and Flow!

Prerequisites

  • Node >= 16.13.x

Installation

  1. Clone the repo

    git clone https://github.com/alchemyplatform/Build-Your-NFT-Explorer-walkthrough.git
  2. Install the dependencies using npm or yarn

    npm install || yarn install
  3. Create a .env file in the root folder

  4. Create un account on Alchemy.com

  5. Grab your Alchemy Endpoint URL following This guide

  6. Enter your Alchemy Endpoint URL to your .env file for all the networks you’d like to use:

    REACT_APP_ALCHEMY_ETHEREUM_ENDPOINT=YOUR_API_URL
    REACT_APP_ALCHEMY_POLYGON_ENDPOINT=YOUR_API_URL
    REACT_APP_ALCHEMY_MUMBAI_ENDPOINT=YOUR_API_URL
  7. Run the application

npm run start

Usage

  1. Insert a wallet address in the input field to retrieve all Ethereum NFTs associated with that address
  2. Insert the Smart contract address to retrieve owned NFTs by contract address

For more examples, please refer to the Documentation

Roadmap

  • Implement Ethereum support
  • Implement Fetch by Owner
  • Implement Fetch by Smart Contract address
  • Add Multichain support
  • UI/UX Update
  • Implementing Fetch by collection

See the open issues for a full list of proposed features (and known issues).

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag “enhancement”. Don’t forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License.

Contact

GitHub

View Github