- In an empty repo, do
yarn init - Then, run
yarn add hardhat --dev - Then, run
npx hardhatto initialise a new hardhat project - Then, install the dependencies recommended by hardhat in the terminal
- Then, run
npx hardhat compileto compile all the contracts - Then, run
npx hardhat node --port 8080to run local blockchain node by hardhat - Then, deploy the contracts to that local chain via JS or TS using
yarn deployin this repo - Then test the contracts using Chai. Run
npx hardhat test scripts/test/index.tsor simply in this case runyarn test
-
Notifications
You must be signed in to change notification settings - Fork 0
License
code-regularly/blockchain
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published