/hardhat-pipeline

Azure DevOps Pipeline sample for a solidity project using Hardhat as dev tools

Primary LanguageTypeScriptMIT LicenseMIT

Description

The solution uses a combination of the tools available to improve the development experience. The framework of choice is Hardhat, Waffle is the testing framework, and Ethers the interface used to interact with the network. Based on it's goodnesses, the solution uses Typescript, which is widely supported by all the underlying technologies used across the project.

Dependencies

Auditing

Slither is used by the project to audit the Smart Contracts code ensuring security as well as enforcing styling. The tool is used on the Azure Pipelines used as checks on the GitHub repository to enforce the rules.

Configuring the Network

The global documentation includes the steps to run the solution locally. Refer to the official Hardhat Network documentation for more details.

Deploying Smart Contracts

Refer to the official Hardhat documentation regarding Smart Contracts deployment.

Running Standalone Scripts

Refer to the official Hardhat documentation regarding running standalone Scripts

Unit Tests

Run npm runt test or npx hardhat test on this directory to run the test cases.