Skip to content

trashpirate/liquid-dapp

Repository files navigation

MINTING DAPP

Version Node NPM Nextjs Tailwindcss Wagmi Viem License: MIT

Website: nadinaoates.com LinkedIn: nadinaoates Twitter: N0_crypto

Table of Contents
  1. About The Project
  2. Getting Started
  3. Contributing
  4. License
  5. Contact

About The Project

This repository contains the code for a minting dApp for a NFT collection

This is a Next.js project bootstrapped with create-next-app.

Getting Started

Installation

  1. Clone the repo
    git clone https://github.com/trashpirate/minting-dapp.git
  2. Navigate to the project directory
    cd minting-dapp
  3. Install NPM packages
    npm install

Usage

Before running any commands, create a .env file and add the following environment variables. These are configured for BNB and BASE chain:

# dapp configs
NEXT_PUBLIC_PROJECT_NAME="Title"
NEXT_PUBLIC_PROJECT_ID="Project Id from WalletConnect" # https://cloud.walletconnect.com/app
NEXT_PUBLIC_PROJECT_DESCRIPTION="Description"
NEXT_PUBLIC_TOKEN_SYMBOL="BEP-20 Token Symbol"

# chain configs
NEXT_PUBLIC_ALCHEMY_API_KEY=<your API key> # https://www.alchemy.com/

NEXT_PUBLIC_ENABLE_TESTNET=true # toggles to use testnet configuration or base

# smart contract configs (toggle these to switch between testnet and base)
NEXT_PUBLIC_RPC_URL="RPC URL" # e.g. https://www.ankr.com/ or  https://www.alchemy.com/ (depends on chains and your preference)
NEXT_PUBLIC_RPC_DESTINATION="RPC URL" # e.g. https://www.ankr.com/ or  https://www.alchemy.com/ (depends on chains and your preference)
NEXT_PUBLIC_TOKEN_CONTRACT="Contract Address"
NEXT_PUBLIC_NFT_CONTRACT="Contract Address"
NEXT_PUBLIC_NFT_CONTRACT="Contract Address"
NEXT_PUBLIC_DESTINATION_MINTER_CONTRACT="Contract Address"

#### Run development server:

```bash
# development
$ npm next dev

# production mode
$ npm next start

Open http://localhost:3000 with your browser to see the result.

Deploy on Vercel:

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.

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. See LICENSE for more information.

Contact

Nadina Oates - @N0_crypto

Main Repository: https://github.com/trashpirate/queens

Project Link: https://0x52.buyholdearn.com/

About

Frontend of NFT Minting DApp for the Liquid NFT Collection.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages