Skip to content

Feature/restructure and infra - #11

Open
0xV0YD wants to merge 17 commits into
masterfrom
feature/restructure-and-infra
Open

Feature/restructure and infra#11
0xV0YD wants to merge 17 commits into
masterfrom
feature/restructure-and-infra

Conversation

@0xV0YD

@0xV0YD 0xV0YD commented Jan 30, 2026

Copy link
Copy Markdown
Owner

No description provided.

0xV0YD and others added 17 commits September 9, 2025 12:13
- 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
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
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants