Skip to content
This repository has been archived by the owner on May 8, 2024. It is now read-only.

leNFT/contracts

Repository files navigation

leNFT Protocol

Create an hardhat.config.js configuration file:

require("@nomiclabs/hardhat-waffle");
require("@nomiclabs/hardhat-ethers");
require("@nomiclabs/hardhat-solhint");
require("@openzeppelin/hardhat-upgrades");
require("solidity-coverage");

module.exports = {
  defaultNetwork: "hardhat",
  solidity: {
    compilers: [
      {
        version: "0.8.19",
        settings: {
          viaIR: false,
          optimizer: {
            enabled: true,
            runs: 200,
            details: {
              yul: true,
            },
          },
        },
      },
      {
        version: "0.4.18",
      },
    ],
  },
};

Some tests are performed in a forked mainnet environment, so you'll also need a .env file with an Infura API Key.

INFURA_API_KEY="YOUR_API_KEY"

To run tests:

npm install
npx hardhat test

To run test coverage:

npm install
npx hardhat coverage

To run solhint:

npm install
npx hardhat check

Audits

Company Date Audit
Three Sigma 30/06/2023 Link

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published