Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ekwugha/reentrancy-attack
This is a pratical illustration of how Re-entrancy attacks works. I create a couple of smart contracts, GoodContract and BadContract to demonstrate this behaviour. BadContract will be able to drain all the ETH out from GoodContract. Also wrote tests to see how it works.
https://github.com/ekwugha/reentrancy-attack
hardhat reentrancy solidity-contracts test
Last synced: 4 days ago
JSON representation
This is a pratical illustration of how Re-entrancy attacks works. I create a couple of smart contracts, GoodContract and BadContract to demonstrate this behaviour. BadContract will be able to drain all the ETH out from GoodContract. Also wrote tests to see how it works.
- Host: GitHub
- URL: https://github.com/ekwugha/reentrancy-attack
- Owner: Ekwugha
- Created: 2022-10-12T10:25:36.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2022-10-12T10:27:17.000Z (about 2 years ago)
- Last Synced: 2023-05-11T10:35:35.828Z (over 1 year ago)
- Topics: hardhat, reentrancy, solidity-contracts, test
- Language: JavaScript
- Homepage:
- Size: 84 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0