/sports-legends

A sports betting contract for the Lukso blockchain ecosystem using LSP8 standard

Primary LanguageTypeScriptMIT LicenseMIT

⚽️ 🏀 Sports Legends

Features

  • Mint a limited amount of shirts for each team at a specified price
  • Creators split fees accordingly
  • Admins can set the winner
  • Winners can claim prize from the prize pool (SportsLegends.sol) ]

Requirements

Before you begin, you need to install the following tools:

Quickstart

Clone this repo & install dependencies

git clone https://github.com/ValentineCodes/sports-legends.git
cd sports-legends
yarn install

Run tests

yarn test

In the same terminal, deploy contracts

Must set the enviromnent variables in hardhat as specified in .env.example

yarn deploy

The verification of the contracts may take a couple of minutes, so be aware of that if it seems that your terminal got stuck.