Skip to content

harbor-xyz/reentrancy-test

Repository files navigation

Reentrancy Testnet

This is a sample project that shows a basic reentrancy attack Testnet.

Installation

To install the packages, run either the following in the root directory of your repository:

yarn install

OR

npm install

Run the tests

After setting up your tests, run:

yarn test

To set up your tests.

Make sure to fill in the credentials in the test files!

harbor = new Harbor({
  userKey: "cFeJWnDwQFVTSF2AabM2W5",
  projectKey: "fPMeKGPUfyBTCoq2omv3G4",
});

To run the protected-re-entrancy-solution.test.js, make the changes on ProtectedBank as per the documention's instruction and run:

npx hardhat compile

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published