Final release

This commit is contained in:
voidz0r 2022-03-30 00:35:29 +02:00
parent 32d839d05d
commit 552a4f813d

View File

@ -1,6 +1,9 @@
# Intro # Intro
Solana CTF Solve Solana CTF Solve
## Prerequisites
sudo apt -y install pkg-config build-essential
## Installing solana ## Installing solana
sh -c "$(curl -sSfL https://release.solana.com/v1.10.5/install)" 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 cd ctf && cargo build-bpf
## Check project dependencies ## Check project dependencies
cd poc_solana && cargo check cd solution && cargo check && cd ..
## Solana binary ## 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 ## Environment
Rustc 1.59.0 Rustc 1.59.0