Feature/restructure and infra - #11
Open
0xV0YD wants to merge 17 commits into
Open
Conversation
0xV0YD
added a commit
that referenced
this pull request
Jan 31, 2026
…factor and added schema definitions (#11) * chainstack and alchemy added * added benchmarking tests * added quicknode , correct pricing and scoring * corrected maths and added method specific logic for providers * multithreading for specific methods addded * feat: restructure codebase and migrate infrastructure layer - Restructure entire codebase to align with 11-step specification - Create clean layered architecture (services/strategy/api/infra/data) - Move HTTP client from services/ to infra/ for proper separation Closes #1 Closes #2 * chore: Cleaned up files and removed unsused methods and cmments * feat: implement provider registry and Pydantic schemas (#7, #9) 1. Created providers/ dir. with base and registery 2. Moved implementation of get_providers and all providers in registry file 3. Added pydantic models for the rpc request 4. integrated rpc request model in the request parser * feat: changed the app from flask to fastapi * fisxed method checkng in providers/base.py * Fixed the routes, added pydantic validation and added asyncio and aiohttp * fixed all the PR reviews and tested the final flow and made it compliant. * fixed double counting, calls return single best provider now * fix: multiple providers selected for no prev data as well * fixed total compute units calcylation to use all requests across all methods * fix added current request's cu to toal cu --------- Co-authored-by: Your Name <slayycasm997@gmail.com> Co-authored-by: Sambhav Jain <136801346+DarkLord017@users.noreply.github.com> Co-authored-by: Yash Dugriyal <127002519+0xV0YD@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.