Skip to content

restructure : created config/ and metrics/ directory - #10

Open
0xV0YD wants to merge 3 commits into
feature/restructure-and-infrafrom
feat/config-and-metrics
Open

restructure : created config/ and metrics/ directory#10
0xV0YD wants to merge 3 commits into
feature/restructure-and-infrafrom
feat/config-and-metrics

Conversation

@0xV0YD

@0xV0YD 0xV0YD commented Jan 30, 2026

Copy link
Copy Markdown
Owner

No description provided.

parzival1821 and others added 2 commits January 31, 2026 13:41
# Conflicts:
#	api/v1/optimizer_routes.py
…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>
@parzival1821
parzival1821 force-pushed the feat/config-and-metrics branch from 06c74f0 to 9506d35 Compare January 31, 2026 09:26
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