Welcome! This exercise is designed to help you practice key Python programming skills specifically for Bitcoin development.
Your task is to complete the TODO items found in the main.py source file.
- Fork this repository.
- Go to the
Actionstab and enable github workflow for your repository by clickingI understand my ...
-
Clone your fork to your local computer.
-
Explore the Code
- Open the
main.pyfile and examine the source code. - Look for code marked with
TODO.
- Open the
-
Complete the TODOs
- Implement the missing logic where indicated.
- Ensure your code is readable, idiomatic, and compiles without warnings.
-
Test Your Code
- Run the tests using:
python3 -m unittest discover -s tests -p 'main_test.py' -v
- Run the tests using:
-
Commit and push your changes to the
mainbranch of your remote fork. -
Confirm your forked repository has a green check mark.
- Submit your solution to this form: Google form.
PS: You can commit and push as often as you like and GitHub Actions will re-evaluate your code every time. You will need to look through the auto-grader logs (in the "Actions" tab) to see what exactly you got right or wrong.

