/tickets4u

web3 based ticket booking dApp

Tickets4You

Technology Stack & Tools

  • Solidity (Writing Smart Contracts & Tests)
  • Javascript (React & Testing)
  • Hardhat (Development Framework)
  • Ethers.js (Blockchain Interaction)
  • React.js (Frontend Framework)
  • MetaMask

Requirements For Initial Setup

  • Install NodeJS. Recommended to use the LTS version.
  • Install MetaMask on your browser.

Setting Up

1. Clone/Download the Repository

2. Install Dependencies:

$ npm install

3. Run tests

$ npx hardhat test

4. Start Hardhat node

$ npx hardhat node

5. Run deployment script

In a separate terminal execute: $ npx hardhat run ./scripts/deploy.js --network localhost

6. Start frontend

$ npm run start