/SandwichPractice

Implement a simple sandwich attack with tests to get profit

Primary LanguageSolidity

Sandwich Attack Practice

We have 2 practices and 2 discussions in SandwichPractice.t.sol, follow the instructions in the comments to pass the test.

If you are interested in the sandwich attack, you can read more in this repository

Local Development

Clone this repository, install Node.js dependencies, and build the source code:

git clone https://github.com/Rita94105/SandwichPractice.git
cd SandwichPractice
npm install
forge install
forge build
forge test