kkrt-labs / cairo-vm-ts

A typescript implementation of the Cairo VM
Apache License 2.0
18 stars 13 forks source link

feat: add DivMod hint #125

Open zmalatrax opened 1 month ago

zmalatrax commented 1 month ago

Estimated time: 0.5d Lifespan: 1d

How-to implement a hint on the Cairo VM TS available here

Rust implementation reference

coxmars commented 1 month ago

I am applying to this issue via OnlyDust platform.

My background and how it can be leveraged

Hi @zmalatrax, I'm a software developer with 2+ years of experience with Java, C#, Dart and others technologies and I'm member of Dojo Coding community here in CR and I have made contributions in Cairo VM Go, some days ago I implemented a hint there.

How I plan on tackling this issue

This will be my approach:

  1. Review Documentation and References: Understand the hint requirements and analyze existing implementations.
  2. Plan and Design the Implementation: Reference Rust and Cairo implementations.
  3. Implement the Hint in Cairo VM TS: Write the hint code following project guidelines.
  4. Add Unit Tests: Create unit tests to validate the hint implementation.
  5. Create Integration Tests: Develop integration tests to verify functionality within the system.
  6. Run Tests and Verify Implementation: Execute all tests to ensure correctness.
  7. Submit PR: Submit my pull request with a clear description and request feedback.

Thanks.

zmalatrax commented 1 month ago

Sure, assigned