GithubHelp home page GithubHelp logo

surgieboi / nftport-nft-portfolio-starter-kit Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 1.0 673 KB

A Next.js starter kit for creating an NFT portfolio using @nftport's API ⚡

Home Page: https://nftport-portfolio-bored-apes-starter-kit.vercel.app/

License: MIT License

JavaScript 98.20% CSS 1.80%
nftport nfts web3 nextjs vercel

nftport-nft-portfolio-starter-kit's Introduction

NFTPort NFT Portfolio Starter Kit

This is a starter kit project for creating an NFT portfolio using NFTPort, Next.js's create-next-app, and Tailwind; additionally, it is deployable on Vercel.

Getting Started

  1. Sign-up and create an NFTPort account
  2. After signing-up, copy and save your accounts API Key for later use
  3. Clone this repository
  4. Rename .env.sample to .env
  5. Update your environment variables file (.env) using your NFTPort API Key and other information about your NFT project
  6. Run npm run dev
  7. View your landing page on localhost:3000

Alternatively, you can deploy this starter kit using Vercel's Deploy Now button:

Deploy with Vercel

Note, deploying to Vercel does not require any knowledge of Javascript, Next.js or software development.

To successfully deploy to Vercel, you will need the following environment variables:

Variable Description Example
NEXT_PUBLIC_NFTPORT_API_KEY Your NFTPort API Key 4806f51a-f91f-456d-8cb6-b471b909c2b6
NEXT_PUBLIC_NFTPORT_NFTS_ADDRESS A public address to retrieve contract NFTs 0x6C9343CA5c2Ef3a35a83438344Bb3cbE3c249f65
NEXT_PUBLIC_NFTPORT_CHAIN The blockchain we will retreive NFTs from ethereum, but others include: goerli, polygon, rinkeby, and solana
NEXT_PUBLIC_NFTPORT_DISPLAY_QUANTITY The number of NFTs to retreive 50
NEXT_PUBLIC_NFTPORT_INCLUDE The type of data to return from NFTPort's API all, but others include: default, metadata, and Not Set

Environment Variables

Solana

This starter kit connects to Solana and displays NFT's created by a specific account using NFTPort's Retrieve Solana NFTs created by an account endpoint.

In doing so, ensure that your NEXT_PUBLIC_NFTPORT_INCLUDE environment variable uses metadata. Using all or default, or any other value, will return eitehr a 422 error due to an invalid enumeration or insufficient data.

Updating Content

Logo

To update the logo, replace the logo.png file found within the repositories /public directory.

Project Information

To update information such as as the landing page's project title (ex. Bored Ape Yacht Club), update the retreive.js file within the components/nfts directory.

Roadmap

This repository is just a starter kit, but I will be expanding it to include:

  • Add Wagmi and the ability to connect Web3 wallets
  • Enable connected wallets to create portfolio pages
  • Who really knows (wink, wink)

Contributing

Feel free to fork, submit pull requests and contribute.

Questions

If you have any questions, feel free to email me at: [email protected].

nftport-nft-portfolio-starter-kit's People

Contributors

surgieboi avatar

Watchers

 avatar  avatar

Forkers

bunsdev

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.