Skip to content

Commit

Permalink
Setup hardhat
Browse files Browse the repository at this point in the history
  • Loading branch information
akshay-ap committed Jan 27, 2025
1 parent 959a1bc commit b815ed3
Show file tree
Hide file tree
Showing 6 changed files with 7,981 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -128,3 +128,21 @@ dist
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*

node_modules
.env

# Hardhat files
/cache
/artifacts

# TypeChain files
/typechain
/typechain-types

# solidity-coverage files
/coverage
/coverage.json

# Hardhat Ignition default folder for deployments against a local node
ignition/deployments/chain-31337
5 changes: 5 additions & 0 deletions contracts/SafeGuard.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.28;

contract SafeGuard {
}
19 changes: 19 additions & 0 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import { HardhatUserConfig } from "hardhat/config";
import "@nomicfoundation/hardhat-toolbox";
import "hardhat-dependency-compiler";

const config: HardhatUserConfig = {
solidity: "0.8.28",
networks: {
hardhat: {
allowUnlimitedContractSize: true,
},
},
dependencyCompiler: {
paths: [
"@safe-global/safe-contracts/contracts/proxies/SafeProxyFactory.sol",
],
},
};

export default config;
Loading

0 comments on commit b815ed3

Please sign in to comment.