swisstronik-erc-721

This project sets up a Hardhat environment to deploy and interact with an ERC-721 (NFT) contract on the Swisstronik testnet. Follow the steps below to get started.

Prerequisites

Ensure you have the following installed:

  • Node.js
  • npm

Setup Instructions

  1. Clone the repository:

    git clone https://github.com/rmndkyl/swisstronik-erc-721.git
    cd swisstronik-erc-721
  2. Make the setup script executable and run it:

    chmod +x erc721.sh && sed -i 's/\r$//' erc721.sh && ./erc721.sh
  3. Follow the prompts to enter your private key and NFT details.

  4. After everything is complete, push your files with:

    git add . && git commit -m "feat: initiated the project" && git push origin main

Deployment

The script will:

  • Install necessary dependencies.
  • Create a Hardhat project.
  • Configure the Hardhat environment.
  • Create and compile an ERC-721 contract.
  • Deploy the contract to the Swisstronik testnet.
  • Mint an NFT using the deployed contract.

Notes

  • The contract address will be saved in contract.txt.
  • The transaction hash for the minting process will be printed in the terminal.

Contact

For any issues or inquiries, please reach out via Telegram.