https://github.com/eccb7/nft-explorer
https://github.com/eccb7/nft-explorer
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/eccb7/nft-explorer
- Owner: Eccb7
- License: mit
- Created: 2024-01-03T19:45:03.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-04T20:56:28.000Z (over 1 year ago)
- Last Synced: 2025-02-02T02:47:57.067Z (3 months ago)
- Language: JavaScript
- Size: 22.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# NFT Explorer CW3D Template
This NFT Explorer dapp is set up to be created using the create-web3-dapp npx package.
## Resources
Please refer to CW3D's documentation and the following useful links for an in depth explanation of how to work with projects bootstrapped with CW3D:- [Docs](https://docs.alchemy.com/docs/create-web3-dapp) - Everything you need to know when using CW3D
- [GitHub](https://github.com/alchemyplatform/create-web3-dapp) - look at the extensive code example or start contributing
- [Website](https://createweb3dapp.alchemy.com) - Learn more about CW3D and add components to your project
- [Templates](https://createweb3dapp.alchemy.com/#templates) - Check out the pre-built project templates
- [Components Library](https://createweb3dapp.alchemy.com/#components) - Add features directly to your project through components
- [Examples](https://github.com/alchemyplatform/create-web3-dapp-examples) - See the components implemented in a real world dapp
- [Community](https://t.me/createweb3dapp) - Meet other builders, get support, and give feedback!## Overview
This project contains a fully fledged Next.js based NFT Explorer capable of fetching nfts by:
- Collections
- External and connected walletAcross all EVM compatible chains.
Created using [Create Web3 Dapp](https://github.com/alchemyplatform/create-web3-dapp). It is , providing you with a seamless way to get your dApp up and running in no time.
This boilerplate is built using [CW3D (Create Web3 Dapp)](https://github.com/alchemyplatform/create-web3-dapp), a powerful tool developed by [Alchemy](https://www.alchemy.com/) that allows developers to rapidly create and deploy dApps.
## What's Included?
This boilerplate has everything you need to start building a dapp:
- Next.js
- Wagmi Hooks
- Ethers.js
- Rainbowkit
- Alchemy SDK## Supported Chains
The project supports all the major EVM chains:
- Ethereum
- Polygon
- Arbitrum
- Optimism## Getting Started
### Prerequisites
To get started with this boilerplate, you'll need to have the following software installed on your local machine:
- [Node.js](https://nodejs.org/)
- [Yarn](https://yarnpkg.com/)
- [Git](https://git-scm.com/)### Installation
1. Run create web3 dapp in your terminal and select the NFT Explorer template:
```
npx create-web3-dapp@latest
```
2. Navigate to the project directory:
```
cd my-create-web3-dapp
```
Navigate to the[docs](https://docs.alchemy.com/docs/create-web3-dapp) to learn more about using cw3d to spin up your web3 applications### Running the Project
1. Inside the project folder, start the local development server:
```
yarn run dev
```
2. Open your browser and navigate to [`http://localhost:3000/`](http://localhost:3000/) to view the dApp in action.## Project Structure
The boilerplate consists of one root directory:
```
📦root
┣ 📂components
┃ ┣ 📂navigation
┃ ┃ ┗ 📜navbar.jsx
┃ ┗ 📜nftGallery.jsx
┣ 📂layout
┃ ┗ 📜mainLayout.jsx
┣ 📂pages
┃ ┣ 📂api
┃ ┃ ┣ 📜getNftsForCollection.js
┃ ┃ ┗ 📜getNftsForOwner.js
┃ ┣ 📜_app.js
┃ ┗ 📜index.jsx
┣ 📂public
┃ ┗ 📜alchemy_logo.svg
┣ 📂styles
┃ ┣ 📜Home.module.css
┃ ┣ 📜Navbar.module.css
┃ ┣ 📜NftGallery.module.css
┃ ┗ 📜globals.css
┣ 📜.env.local
┣ 📜.gitignore
┣ 📜README.md
┣ 📜package-lock.json
┗ 📜package.json
```Start editing the `pages/index.jsx` file in the root directory to customize the project according to your own needs!