From c5a5af66ba87b3d22ea13c4858e8e59111af8973 Mon Sep 17 00:00:00 2001 From: Sylvain Bellemare Date: Sat, 10 Feb 2024 23:34:36 -0800 Subject: [PATCH] Update POPETS-ARTIFACTS-README.md --- POPETS-ARTIFACTS-README.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/POPETS-ARTIFACTS-README.md b/POPETS-ARTIFACTS-README.md index f485f9d94..dfc678d4f 100644 --- a/POPETS-ARTIFACTS-README.md +++ b/POPETS-ARTIFACTS-README.md @@ -158,7 +158,7 @@ cd hacking/ Setup and start the local network with: ```shell -./scripts/start_node.sh +make start ```
@@ -266,7 +266,7 @@ Launch the sandwich attack.The script creates a victim transaction swaping 10 to ```shell -docker compose exec localsecret-2 ./scripts/run_mev_demo_local.sh +make sandwich-attack ```
@@ -289,13 +289,17 @@ The above command simulates an adversary executing the following steps: their balance of `token_b`.
+
+Animated gif of demo +![](hacking/render1707634384302.gif) +
#### Experiment 2: Transfer amount privacy attack Getting transfer amount. This script generates a victim transaction sending 10 of a SNIP-20 token to another account. It figures out the transfer amount prints it. ```shell -docker compose exec localsecret-2 ./scripts/test_snip20.sh +make receiver-privacy-attack ```
@@ -318,7 +322,7 @@ The above command simulates an adversary executing the following steps: Getting the account balance. The script figures out and prints the victim's balance of 12343. ```shell -docker compose exec localsecret-2 ./scripts/test_balance.sh +make balance-privacy-attack ```