From 552a4f813d97e939d6492e821c33d9200e99c724 Mon Sep 17 00:00:00 2001 From: voidz0r Date: Wed, 30 Mar 2022 00:35:29 +0200 Subject: [PATCH] Final release --- README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1fb1a9c..4103688 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,9 @@ # Intro Solana CTF Solve +## Prerequisites +sudo apt -y install pkg-config build-essential + ## Installing solana sh -c "$(curl -sSfL https://release.solana.com/v1.10.5/install)" @@ -8,10 +11,13 @@ sh -c "$(curl -sSfL https://release.solana.com/v1.10.5/install)" cd ctf && cargo build-bpf ## Check project dependencies -cd poc_solana && cargo check +cd solution && cargo check && cd .. ## Solana binary -mkdir -p poc_solana/target/deploy/ && cp ctf/target/deploy/ctf_solana.farm.so src/target/deploy/ctf_solana_farm.so +mkdir -p solution/target/deploy/ && cp ctf/target/deploy/ctf_solana.farm.so solution/target/deploy/ctf_solana_farm.so + +## Executing poc +cd ctf && cargo run --bin main ## Environment Rustc 1.59.0