Final release
This commit is contained in:
parent
32d839d05d
commit
552a4f813d
10
README.md
10
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user