Skip to content

dappuniversity/Reentrancy-attack-Smart-Contract-Security

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Smart Contract Security - Reentrancy attack

Practical example of the reentracy vulnerability and how to protect against it

Technology Stack & Dependencies

  • Solidity (Writing Smart Contract)
  • Javascript (Game interaction)
  • NodeJS To create hardhat project and install dependencis using npm
  • Ethers.js Interact with contracts using JavaScript

1. Clone/Download the Repository

2. Install Dependencies:

$ npm install

3. Compile Smart Contracts

$ npx hardhat compile

4. Test and Perform attack

$ npx hardhat test

About

Practical example of the Reentrancy attack and how to protect against it

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published