Skip to main content

capture-the-flag framework for web 3

Project description

Helloweb3

Helloweb3 is a framework for writing blockchain CTF challenges. It is build as a versioned python package to minimize copy-pasting, and the architecture is modular. Out of the box, a mixin for Solidity challenges running on an isolated Anvil instance, as well as support for a simple PoW rate-limiting scheme are provided.

See the examples or template to get started.

Tricks

You can use this command to launch a web-based blockchain explorer on your challenge:

docker run -p 8000:80 -e ERIGON_URL=$rpc_url otterscan/otterscan

Then, navigate to https://localhost:8000

The template also includes glue code to solve using a Forge script.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

helloweb3-0.1.0.tar.gz (196.6 kB view hashes)

Uploaded Source

Built Distribution

helloweb3-0.1.0-py3-none-any.whl (9.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page