Skip to content

code-regularly/blockchain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ethereum Blockchain & Solidity Smart Contracts

  1. In an empty repo, do yarn init
  2. Then, run yarn add hardhat --dev
  3. Then, run npx hardhat to initialise a new hardhat project
  4. Then, install the dependencies recommended by hardhat in the terminal
  5. Then, run npx hardhat compile to compile all the contracts
  6. Then, run npx hardhat node --port 8080 to run local blockchain node by hardhat
  7. Then, deploy the contracts to that local chain via JS or TS using yarn deploy in this repo
  8. Then test the contracts using Chai. Run npx hardhat test scripts/test/index.ts or simply in this case run yarn test

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published