Skip to content

btrust-builders/rust-week-4-exercises

Repository files navigation

Btrust Builders: Rust for Bitcoiners Week Four Exercises

Instructions

Welcome! This exercise is designed to help you practice key Rust programming skills specifically for Bitcoin development. Your task is to complete the TODO items found in the source files located in the src/ directory.

  1. Fork this repository.
  2. Go to the Actions tab and enable github workflow for your repository by clicking I understand my ...

  1. Clone your fork to your local computer.

  2. Explore the Code

    • Open the src/ directory and examine the Rust source files.
    • Look for code marked with TODO.
  3. Complete the TODOs

    • Implement the missing logic where indicated.
    • Ensure your code is readable, idiomatic, and compiles without warnings.
  4. Test Your Code

    • Run the tests using:
      cargo test --test unit_tests
  5. Format and Lint (Optional but Recommended)

    • Format your code:
      cargo fmt
    • Run Clippy for linting:
      cargo clippy
  6. Commit and push your changes to the main branch of your remote fork.

  7. Confirm your forked repository has a green check mark.

  1. 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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages