SolidCTF is an infrastructure solution that simplifies the build of Solidity CTF challenges.
2.0K
SolidCTF is an infrastructure solution that simplifies the build of Solidity Capture the Flag (CTF) challenges. It provides the ability to CTF organizers to rapidly set up a playable Solidity CTF environment, freeing them up to concentrate on designing smart contracts for puzzles.
Use the following command to run a quick demo:
docker run -it -p 20000:20000 -e WEB3_PROVIDER_URI=https://rpc.sepolia.org chainflag/solidctf
nc 127.0.0.1 20000
git clone [email protected]:chainflag/solidity-ctf-template.git command to create a new challenge project.docker-compose pull && docker-compose up -d command to start serving your challenge.Before you start, make sure you have the following installed:
pip install -r requirements.txt)git clone [email protected]:chainflag/solidctf.git
git submodule update --init --recursive
make protoc
export WEB3_PROVIDER_URI="your web3 provider"
make dev
python client.py
To format the Python source code, you will need to install additional packages (pip install -r requirements-dev.txt) and run the following command:
make format
Many thanks to JetBrains for providing their excellent tools and an open source license to support the development of this project.
Distributed under the MIT License. See LICENSE for more information.
Content type
Image
Digest
sha256:226d09d0e…
Size
172.4 MB
Last updated
over 3 years ago
docker pull chainflag/solidctf