1
- # Buidler Hackathon Boilerplate
1
+ # Hardhat Hackathon Boilerplate
2
2
3
3
This repository contains a sample project that you can use as the starting point
4
4
for your Ethereum project. It's also a great fit for learning the basics of
5
5
smart contract development.
6
6
7
7
This project is intended to be used with the
8
- [ Buidler Beginners Tutorial] ( http ://buidler.dev /tutorial) , but you should be
8
+ [ Hardhat Beginners Tutorial] ( https ://hardhat.org /tutorial) , but you should be
9
9
able to follow it by yourself by reading the README and exploring its
10
10
` contracts ` , ` tests ` , ` scripts ` and ` frontend ` directories.
11
11
@@ -15,22 +15,22 @@ The first things you need to do are cloning this repository and installing its
15
15
dependencies:
16
16
17
17
``` sh
18
- git clone https://github.com/nomiclabs/buidler -hackathon-boilerplate.git
19
- cd buidler -hackathon-boilerplate
18
+ git clone https://github.com/nomiclabs/hardhat -hackathon-boilerplate.git
19
+ cd hardhat -hackathon-boilerplate
20
20
npm install
21
21
```
22
22
23
- Once installed, let's run Buidler 's testing network:
23
+ Once installed, let's run Hardhat 's testing network:
24
24
25
25
``` sh
26
- npx buidler node
26
+ npx hardhat node
27
27
```
28
28
29
29
Then, on a new terminal, go to the repository's root folder and run this to
30
30
deploy your contract:
31
31
32
32
``` sh
33
- npx buidler run scripts/deploy.js --network localhost
33
+ npx hardhat run scripts/deploy.js --network localhost
34
34
```
35
35
36
36
Finally, we can run the frontend with:
@@ -42,26 +42,26 @@ npm start
42
42
```
43
43
44
44
Open [ http://localhost:3000/ ] ( http://localhost:3000/ ) to see your Dapp. You will
45
- need to have [ Metamask] ( http ://metamask.io) installed and listening to
45
+ need to have [ Metamask] ( https ://metamask.io) installed and listening to
46
46
` localhost 8545 ` .
47
47
48
48
## User Guide
49
49
50
- You can find detailed instructions on using this repository and many tips in [ its documentation] ( http ://buidler.dev /tutorial) .
50
+ You can find detailed instructions on using this repository and many tips in [ its documentation] ( https ://hardhat.org /tutorial) .
51
51
52
- - [ Project description (Token.sol)] ( http ://buidler.dev /tutorial/4-contracts/)
53
- - [ Setting up the environment] ( http ://buidler.dev /tutorial/1-setup/)
54
- - [ Testing with Buidler , Mocha and Waffle] ( http ://buidler.dev /tutorial/5-test/)
55
- - [ Setting up Metamask] ( http ://buidler.dev /tutorial/8-frontend/#setting-up-metamask)
56
- - [ Buidler 's full documentation] ( https://buidler.dev /getting-started/ )
52
+ - [ Project description (Token.sol)] ( https ://hardhat.org /tutorial/4-contracts/)
53
+ - [ Setting up the environment] ( https ://hardhat.org /tutorial/1-setup/)
54
+ - [ Testing with Hardhat , Mocha and Waffle] ( https ://hardhat.org /tutorial/5-test/)
55
+ - [ Setting up Metamask] ( https ://hardhat.org /tutorial/8-frontend/#setting-up-metamask)
56
+ - [ Hardhat 's full documentation] ( https://hardhat.org /getting-started/ )
57
57
58
- For a complete introduction to Buidler , refer to [ this guide] ( https://buidler.dev /getting-started/#overview ) .
58
+ For a complete introduction to Hardhat , refer to [ this guide] ( https://hardhat.org /getting-started/#overview ) .
59
59
60
60
## What’s Included?
61
61
62
- Your environment will have everything you need to build a Dapp powered by Buidler and React.
62
+ Your environment will have everything you need to build a Dapp powered by Hardhat and React.
63
63
64
- - [ Buidler ] ( https://buidler.dev / ) : An Ethereum development task runner and testing network.
64
+ - [ Hardhat ] ( https://hardhat.org / ) : An Ethereum development task runner and testing network.
65
65
- [ Mocha] ( https://mochajs.org/ ) : A JavaScript test runner.
66
66
- [ Chai] ( https://www.chaijs.com/ ) : A JavaScript assertion library.
67
67
- [ ethers.js] ( https://docs.ethers.io/ethers.js/html/ ) : A JavaScript library for interacting with Ethereum.
@@ -70,16 +70,16 @@ Your environment will have everything you need to build a Dapp powered by Buidle
70
70
71
71
## Troubleshooting
72
72
73
- - ` Invalid nonce ` errors: if you are seeing this error on the ` buidler node`
73
+ - ` Invalid nonce ` errors: if you are seeing this error on the ` npx hardhat node`
74
74
console, try resetting your Metamask account. This will reset the account's
75
75
transaction history and also the nonce. Open Metamask, click on your account
76
76
followed by ` Settings > Advanced > Reset Account ` .
77
77
78
78
## Feedback, help and news
79
79
80
80
We'd love to have your feedback on this tutorial. Feel free to reach us through
81
- this repository or [ our Telegram Support Group ] ( https://t.me/BuidlerSupport ) .
81
+ this repository or [ our Discord server ] ( https://invite.gg/HardhatSupport ) .
82
82
83
- Also you can [ follow Nomic Labs on Twitter] ( https://twitter.com/nomiclabs ) .
83
+ Also you can [ follow us on Twitter] ( https://twitter.com/HardhatHQ ) .
84
84
85
85
** Happy _ buidling_ !**
0 commit comments