Skip to content

YAY-Games/token-contract

Repository files navigation

$YAY token smart contract

hardhatProject codecov

  • Language: Solidity v0.6.12

  • Project framework: hardhat + truffle / web3

  • Nodejs: v14.17.0

Overview

Deployed

Binance Smart Chain

Avalanche C-chain (bridged)

Installation & Usage

  1. Install packages
npm i --save-dev
  1. Build project
npm run build

Testing

npm test

Run linter

npm run lint

Deploy

  1. Edit network in hardhat.config.js (docs)

  2. Setup environment variables:

cp .env.example .env
// then edit .env
  1. Run command:
npx hardhat run scripts/deploy-script.js --network <network name>

License

MIT License