An open API service indexing awesome lists of open source software.

https://github.com/alchemyplatform/build-your-nft-explorer-walkthrough


https://github.com/alchemyplatform/build-your-nft-explorer-walkthrough

Last synced: 12 months ago
JSON representation

Awesome Lists containing this project

README

          





Logo

Alchemy NFT API Demo


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


Explore the docs »




View Demo (Coming soon)
·
Report Bug
·
Request Feature


Table of Contents



  1. About The Project



  2. Getting Started


  3. Usage

  4. Roadmap

  5. Contributing

  6. License

  7. Contact

## 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](https://www.alchemy.com/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!

(back to top)

![Jan-21-2022 19-33-50-min](https://user-images.githubusercontent.com/72762629/150807611-5bf5ab02-e9a9-4cfb-95c2-61f2bf0f0e2f.gif)

### Built With

* [Alchemy](https://www.alchemy.com)
* [Next.js](https://www.alchemy.com/)
* [React.js](https://reactjs.org/)
* [TailwindCSS](https://getbootstrap.com)

(back to top)

## 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
```sh
git clone https://github.com/alchemyplatform/Build-Your-NFT-Explorer-walkthrough.git
```
2. Install the dependencies using npm or yarn
```sh
npm install || yarn install
```

3. Create a .env file in the root folder
4. Create un account on [Alchemy.com](https://www.alchemy.com/)
5. Grab your Alchemy Endpoint URL following [This guide](https://docs.alchemy.com/alchemy/introduction/getting-started)
6. Enter your Alchemy Endpoint URL to your .env file for all the networks you'd like to use:
```js
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
```sh
npm run start
```

(back to top)

## 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](https://docs.alchemy.com/alchemy/enhanced-apis/nft-api)_

(back to top)

## Roadmap

- [x] Implement Ethereum support
- [x] Implement Fetch by Owner
- [x] Implement Fetch by Smart Contract address
- [ ] Add Multichain support
- [ ] UI/UX Update
- [ ] Implementing Fetch by collection

See the [open issues](https://github.com/alchemyplatform/NFT-API-demo/issues) for a full list of proposed features (and known issues).

(back to top)

## 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

(back to top)

## License

Distributed under the MIT License.

(back to top)

## Contact

- [@AlchemyPlatform](https://twitter.com/AlchemyPlatform)
- [Discord]()

(back to top)