-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ocelloids XCM Transfer Monitoring Service #1972
Conversation
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
I have read and hereby sign the Contributor License Agreement. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot for the application. I'm happy to go ahead with it, but let me also ping @joepetrowski in case he has any additional input.
Thankyou very much for the application. This is very much needed for the XCM supporting chains. I have a few questions:
|
Hi @nikw3f to answer your questions:
Regarding the number of transfers, we do not foresee it causing scalability problems. This is because their rate is constrained by the block production of the full node with lowest block time, which runs on a single machine and is computationally more demanding than a light client. So the primary consideration would be ensuring that the hardware is properly dimensioned to accommodate the load. However, the number of light clients running within a single service instance could pose scalability issues. To address this concern, a straightforward solution would be to deploy multiple service instances, each handling a specific set of networks.
The primary objective of this grant is to provide an API for subscribing to XCM transfer events related to accounts of interest. This API is designed to serve custodians, exchanges, and institutions integrating with Asset Hub, enabling them to receive notifications via a web hook. These are the requirements that were provided to us for this specific use case. However, implementing a user-friendly UI could be considered if there is interest from an end-user perspective.
As an open-source project, our ideal approach is to encourage interested parties to contribute by updating the runtime specifications in our repository. Alternatively, we are prepared to make these updates ourselves as needed. In any case, we are committed to ensuring that our code remains compatible with any future updates to the XCM protocol. If there are changes or updates to the protocol version, we will take the necessary steps to adapt our code accordingly. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. Happy to approve.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I support the concept but a few things left to be clarified. Namely:
- Must be light-client friendly, not just "if it's not too hard". I'd rather see the grant fail to meet its delivery timeline but have documented light client issues for the light client developers to solve than to meet the timeline but without light client support.
- It's not entirely clear if you plan to run this as a paid subscription service or if you plan to release docker images or binaries that others can run themselves. The latter is a requirement IMO.
Also, for clarity I generally prefer "XCM program" over "XCM message", since if you spell out the acronym into "cross-consensus message format {message, program}" you see why.
Hi @joepetrowski, We have updated the application incorporating your suggestions and hopefully clarifying the doubts. Regarding your concerns:
We will focus on Asset Hub, Astar and Acala since they are already compatible with smoldot.
We plan to publish public docker images for the service, as included in the deliverables. |
@mfornos thanks for clarifications, better now. |
@joepetrowski we've updated the document to add asset teleports support and some minor fixes. |
Congratulations and welcome to the Web3 Foundation Grants Program! Please refer to our Milestone Delivery repository for instructions on how to submit milestones and invoices, our FAQ for frequently asked questions and the support section of our README for more ways to find answers to your questions. |
Project Abstract
This grant proposal is a follow-up to the Ocelloids Monitoring SDK, previously delivered and available here: w3f/Grant-Milestone-Delivery#934
The objective of this grant is to develop an open-source monitoring service using the Ocelloids SDK. This service will monitor XCM transfers across selected parachains. The primary purpose is to offer service providers integrating with a single chain (Asset Hub as starting point) and monitoring effects on other chains that are connected via HRMP and that use XCM as their message format. The service will support connecting to the configured networks through light clients in order to reduce infrastructure overhead for service providers. Users will have access to a self-hosted HTTP API to subscribe to XCM transfers and manage their subscriptions. A public Docker image will be published to facilitate service deployment.
Grant level
Application Checklist
project_name.md
).@_______:matrix.org
(change the homeserver if you use a different one)