Skip to content

ChainShot/parity-bug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Parity Hack

Let's re-create the parity wallet hack by forking Ethereum before the hacker took the funds.

Setup

Create a .env file with a MAINNET_URL set to an alchemy mainnet URL.

Execution

Take a look at the tests in test/test.js. You'll want to complete the two TODOs:

  1. For the first TODO, replicate taking control of the logic contract (tx 0x9dbf03...)
  2. For the second TODO, replicate withdrawing the funds (tx 0xeef10f...)

Once you have completed these two TODOs you should be able to run the tests (npx hardhat test) and see all three test cases passing.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published