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
Release history Release notifications | RSS feed
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)
Built Distribution
Close
Hashes for helloweb3-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 932ffb35167f431a2450ef021308507dc81e5b2ebe3b1418600202e068146c12 |
|
MD5 | 31f13798445e76c558a7c1193dc30424 |
|
BLAKE2b-256 | 69d7203ca94c55065b4cc1dfa6170fb90efee0b09d25dab45b7234d95d9cd091 |