Skip to content

bimkon144/NFT721A

Repository files navigation

Contributors Forks Stargazers Issues MIT License


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

About The Project

This is a sample of NFT-721A project to deploy to testnet.

(back to top)

Built With

  • Hardhat

(back to top)

Getting Started

Prerequisites

Installation

  1. Clone the repo

    git clone https://github.com/bimkon144/NFT721A.git
  2. Install NPM packages

    npm install
  3. Enter your wallet address in contractAddresses.js

    walletAddress: 'ENTER_YOUR_ADDRESS';
  4. create .env in root directory with keys like in .env.example

  5. go to alchemy create mumbai network app and get api url. Enter the key in .env

    MUMBAI_RPC_URL="https://polygon-mumbai.g.alchemy.com/v2/xbeYcyfyuzhLbI-_sxU5NB5rhQk8ypSK";
  6. get your wallet private key from metamask. Enter the key in .env

    WALLET_KEY="ENTER_YOUR_PRIVATE_KEY";
  7. get your API key from polygon scan. Enter the key in .env

    POLYGONSCAN_API_KEY="ENTER_YOUR_API_KEY";
  8. run deploy script - npx hardhat run tasks/deploy.js --network mumbai

  9. Congratulations! Now you got your deployed and verified contract. You can check it on etherscan.

update: publicSale, whiteListSale, airDrop now got states: 0 - "Soon", 1 - "Available", 2 - "Finished".

Default state of those are 'Soon'.

You have to pass argument of state(0-1) to functions like toggleWhiteListSale(1);

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

(back to top)

Contact

Alexei kutsenko - [email protected]

Project Link: https://github.com/bimkon144/NFT721A

(back to top)

About

NFT721A

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published