feat: Add Hardhat config, MockERC20 and tests for Smart Contract

This commit is contained in:
2026-03-12 14:25:18 +03:00
parent 6b40444639
commit e7f9325b1c
5 changed files with 6374 additions and 8 deletions

22
hardhat.config.ts Normal file
View File

@@ -0,0 +1,22 @@
import { HardhatUserConfig } from "hardhat/config";
import "@nomicfoundation/hardhat-toolbox";
const config: HardhatUserConfig = {
solidity: {
version: "0.8.20",
settings: {
optimizer: {
enabled: true,
runs: 200,
},
},
},
paths: {
sources: "./contracts",
tests: "./test",
cache: "./cache",
artifacts: "./artifacts"
},
};
export default config;