-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: replaced truffle from hardhat
Signed-off-by: tipusinghaw <[email protected]>
- Loading branch information
1 parent
9256f02
commit fa8d605
Showing
17 changed files
with
4,220 additions
and
8,991 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
node_modules | ||
.DS_Store | ||
build | ||
.env | ||
.env | ||
artifacts | ||
cache |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
/** | ||
* @type import('hardhat/config').HardhatUserConfig | ||
*/ | ||
|
||
// import 'hardhat'; | ||
require('@nomicfoundation/hardhat-ethers') | ||
require('@openzeppelin/hardhat-upgrades') | ||
|
||
require('dotenv/config') | ||
|
||
module.exports = { | ||
solidity: { | ||
version: '0.8.16', | ||
settings: { | ||
optimizer: { | ||
enabled: true, | ||
runs: 200, | ||
}, | ||
}, | ||
}, | ||
networks: { | ||
hardhat: {}, | ||
mumbai: { | ||
url: process.env.RPCURL, // Update with Mumbai Matic RPC URL | ||
accounts: [`0x${process.env.SIGNER}`], | ||
}, | ||
}, | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.