Skip to content

Commit 1de75f3

Browse files
author
cygaar
committed
Begin v2 of repo
1 parent 00f5058 commit 1de75f3

8 files changed

+27670
-0
lines changed

.gitignore

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
node_modules/
2+
.env
3+
coverage
4+
coverage.json
5+
typechain
6+
7+
#Hardhat files
8+
cache
9+
artifacts

README.md

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Basic Sample Hardhat Project
2+
3+
This project demonstrates a basic Hardhat use case. It comes with a sample contract, a test for that contract, a sample script that deploys that contract, and an example of a task implementation, which simply lists the available accounts.
4+
5+
Try running some of the following tasks:
6+
7+
```shell
8+
npx hardhat accounts
9+
npx hardhat compile
10+
npx hardhat clean
11+
npx hardhat test
12+
npx hardhat node
13+
node scripts/sample-script.js
14+
npx hardhat help
15+
```

ERC721A.sol contracts/ERC721A.sol

File renamed without changes.

hardhat.config.js

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
require("@nomiclabs/hardhat-waffle");
2+
require('@nomiclabs/hardhat-ethers');
3+
4+
// This is a sample Hardhat task. To learn how to create your own go to
5+
// https://hardhat.org/guides/create-task.html
6+
task("accounts", "Prints the list of accounts", async (taskArgs, hre) => {
7+
const accounts = await hre.ethers.getSigners();
8+
9+
for (const account of accounts) {
10+
console.log(account.address);
11+
}
12+
});
13+
14+
// You need to export an object to set up your config
15+
// Go to https://hardhat.org/config/ to learn more
16+
17+
/**
18+
* @type import('hardhat/config').HardhatUserConfig
19+
*/
20+
module.exports = {
21+
solidity: "0.8.4",
22+
};

0 commit comments

Comments
 (0)