lfglabs-dev / api.starknet.id

StarknetID API written in Rust.
2 stars 1 forks source link

Feat/custom resolution rev #74

Closed Th0rgal closed 6 months ago

Th0rgal commented 6 months ago

This pull request adds support for custom resolutions in reverse resolving. This allows our API to find the main domain of someone who has a .xplorer.stark or a .braavos.stark for example. It does so by changing the create_normal_pipeline so after finding a matching reverse domain it extracts the root domain (which means we don't support 2 or 3 levels of subdomains for this usecase yet) and finds a matching resolver to check what's its target.

closes #75