Skip to content
This repository has been archived by the owner on Aug 24, 2023. It is now read-only.

Commit

Permalink
replace truffle by hardhat
Browse files Browse the repository at this point in the history
  • Loading branch information
canonbrother committed Sep 8, 2022
1 parent 2e4c2c9 commit 658c256
Show file tree
Hide file tree
Showing 6 changed files with 15,467 additions and 28,500 deletions.
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,8 @@ build
node_modules
.contented
dist
.turbo
.turbo

### Hardhat
cache
artifacts
2 changes: 1 addition & 1 deletion ts-tests/__tests__/contract.tests.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { MetaDContainer } from '../containers';
import { GENESIS_ACCOUNT, GENESIS_ACCOUNT_PRIVATE_KEY, CONTRACT_ADDRESS } from '../utils/constant';
import Test from '../build/contracts/Test.json';
import Test from '../artifacts/contracts/Test.sol/Test.json';
import { ethers } from 'ethers';

const container = new MetaDContainer();
Expand Down
4 changes: 4 additions & 0 deletions ts-tests/hardhat.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/** @type import('hardhat/config').HardhatUserConfig */
module.exports = {
solidity: "0.8.9",
};
Loading

0 comments on commit 658c256

Please sign in to comment.