Open SebastienGllmt opened 8 months ago
I have created a simple prototype that meets the requirements. https://github.com/arthur812812/multichain-domain-resolver
Here are the details:
Service Integration
Dynamic Imports and Fetch Requests
Service Addition
addServices
function merges service objects and returns a new one in a functional manner, ensuring no mutation of defaultServices
.
Goal
For most games, we want a human-readable name for players
Current state
Currently, Paima uses
walletToName
for this in the middleware, but there are a lot of more proper naming services out thereIdeally, in Paima, we would support all of them in a single aggregate library so that game developers don't have to bother learning how to integrate every single library
However, at the same time, every integration has a cost because
Requirements
Challenges
I haven't been able to find anybody who has built this kind of aggregation service. Some of these namespaces support ENS + their service (to make it easy to integrate for platforms that use ENS already), but nobody has a plugin system where you can integrate many of them at once
One option that seems promising is RSS3 as they have many name services supported: https://docs.rss3.io/docs/name-service-resolution
Frontend or backend?
There are two ways to implement this: