blch-challenge-task-23-contract

Getting started

  • Open this Hardhat project (optimally in VS Code with VS Code extension) and run npm install
  • Use Remix either on https://remix.ethereum.org/ or run it locally with docker-compose
  • Run remixd daemon in the contract project dir to be able to work with data from localhost in Remix npx @remix-project/remixd
  • Create a .env file on basis of the .env.template to be able to deploy to the Sepolia network

Hardhat commands

npx hardhat test

npx hardhat run scripts/deployEtherTickets.ts # default is hardhat network
npx hardhat run scripts/deployNFTExchange.ts
npx hardhat run scripts/deployNFTExchange.ts --network sepolia
npx hardhat verify --network sepolia NEW_ADDRESS_FROM_DEPLOYED_CONTRACT

Credits