Skip to content
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

DOTLY: Revolutionizing Polkadot Account Statistics #1784

Merged
merged 4 commits into from
Jul 17, 2023
Merged

DOTLY: Revolutionizing Polkadot Account Statistics #1784

merged 4 commits into from
Jul 17, 2023

Conversation

justmert
Copy link
Contributor

@justmert justmert commented Jun 3, 2023

Project Abstract

DOTLY is an innovative platform that transforms Polkadot account statistics into an insightful and entertaining experience.

Grant level

  • Level 1: Up to $10,000, 2 approvals
  • Level 2: Up to $30,000, 3 approvals
  • Level 3: Unlimited, 5 approvals (for >$100k: Web3 Foundation Council approval)

Application Checklist

  • The application template has been copied and aptly renamed (project_name.md).
  • I have read the application guidelines.
  • Payment details have been provided (bank details via email or BTC, Ethereum (USDC/DAI) or Polkadot/Kusama (USDT) address in the application).
  • The software delivered for this grant will be released under an open-source license specified in the application.
  • The initial PR contains only one commit (squash and force-push if needed).
  • The grant will only be announced once the first milestone has been accepted (see the announcement guidelines).
  • I prefer the discussion of this application to take place in a private Element/Matrix channel. My username is: @_______:matrix.org (change the homeserver if you use a different one)

Copy link
Contributor

@keeganquigley keeganquigley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the application @justmert a couple of initial questions/comments:

  • This is a unique approach, and the gaming element could help onboard new Polkadot users. Can you elaborate more on what Score and Level pertain to and how they are calculated?
  • Are there plans to build tools to monitor XCM transfers? For example, this is Subscan's XCM Dashboard.
  • I see cross-chain functionalities under future plans, and this is important since a lot of activity takes place on parachains. Would you eventually aim to compete with sites such as Sub.ID which displays a cross-chain balance?
  • Personally I think that it's a bit expensive, especially for the dashboard-focused milestone 2.
  • The mandatory deliverables 0a. - 0e. are meant to be included in both milestones. Could you please add these to M2? The article is only mandatory for the last milestone.

@keeganquigley keeganquigley self-assigned this Jun 6, 2023
@keeganquigley keeganquigley added the changes requested The team needs to clarify a few things first. label Jun 6, 2023
@justmert
Copy link
Contributor Author

justmert commented Jun 7, 2023

Hi @keeganquigley, thanks for the review. Here's the answers for your comments,

  • The Score and Level functionalities in DOTLY are designed to gamify the account tracking process and provide users with a sense of achievement and progression within their Polkadot account journey.

    • Account Creation: +10 points.
    • Outgoing Transfer: +3 points for each outgoing transfer.
    • Incoming Transfer: +2 points for each incoming transfer.
    • Extrinsics Calls: +1 points for each extrinsic call.
    • Parachain Interactions, XCM: +2 points for each interaction.
    • Governance Participation: +8 points for each vote cast or proposal submitted.
    • Crowdloans Participation: +5 points for each crowdloan participation.
    • Proxy Actions: +3 points for each proxy action taken.

Score is accumulated sum of above metrics. As an example, if a user has 3 outgoing, and 2 incoming transfers (and assume nothing else is done in the account), the user will have +10 (from account creation), + 3 x 3 (from outgoing transfer) + 3 x 2 (from incoming transfer) and total of 25 score.

The Level system was developed to resemble MMORPG games.

Level = floor((0.4 x Score Points + 0.4 x Achieved Badge Count + 0.2 x Quest Completion Count) / LevelThreshold)

We can determine LevelThreshold values dynamic values or static value like 250.

Note that this calculation and level equation may see changes while implementing the features.

Also I am planning to add quests that incentivize users to perform certain actions. Altough this is done by badges (for now) that are awarded to users, quests are a bit different. For example we can incentivize users to swap in X protocol, or stake in Y protocol, or provide liquidity in Z protocol. This will be a great way to increase user engagement and participation in the Polkadot ecosystem. The rewards for quests can be DOT, KSM, NFTs, etc. and can be provided from respective X, Y, Z protocol/tools. This feature is not included in the proposal since it adds complexity to the project and it will take more time to implement.

  • Thank you for excellent improvement suggestion for DOTLY. I have added deliverable of XCM page implementation that displays incoming/outgoing XCM transfers, XCM transfers pie, XCM pallet interaction history widgets.

  • Yes, upon your suggestion, I have added Parachain Balance Pie/List instead of displaying only DOT balance to my milestones. Users can see their detailed balances on other Parachains as well and this widget will look like in SUB ID. The two features that are available in SUB.ID but not in DOTLY are NFTs and Crowdloans. After implementing the ability to view account statistics for all parachains in DOTLY, I plan to also implement these two features. Apart from that, DOTLY offers a much wider range of features, stats, and unique elements compared to SUB.ID in terms of competition.

  • I was considering lowering the price since you mentioned it was a bit expensive, but instead, I found it more suitable to add features.

  • I have added them to the m2 as well. Thank you.

@keeganquigley
Copy link
Contributor

keeganquigley commented Jun 7, 2023

Thanks for the updates @justmert, it's looking better now. The only thing missing is 0e. Article for milestone 2, which isn't a huge deal, but personally I think a quick blog article is rather important for this project in order to promote it and start getting users interested in the features it offers.

That being said, I will go ahead and mark the application as ready for review, and ping the rest of the committee so other committee members can leave questions and/or comments.

@keeganquigley keeganquigley added ready for review The project is ready to be reviewed by the committee members. and removed changes requested The team needs to clarify a few things first. labels Jun 7, 2023
@justmert
Copy link
Contributor Author

justmert commented Jun 7, 2023

Thanks for the feedback @keeganquigley. Article can be really useful for promotion, so added 0e. deliverable as well.

keeganquigley
keeganquigley previously approved these changes Jun 8, 2023
Copy link
Contributor

@keeganquigley keeganquigley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @justmert for the updates, I'm happy to see the XCM functionalities being included in the grant, and I agree that it warrants a higher price. I'm happy to go ahead with it.

Noc2
Noc2 previously approved these changes Jun 19, 2023
Copy link
Collaborator

@Noc2 Noc2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm happy to support it as well. Btw. regarding Polkaflow are you aware of https://wiki.polkadot.network/docs/build-open-source

Copy link
Member

@semuelle semuelle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the application, @justmert.

  • Do I understand correctly that I can paste anyone's account into the search bar and get these statistics on them? Or does it require siging a message?
  • I noticed that you added Google Analytics to the Polkaflow frontend. Could you share some user numbers?
  • Have you applied or are you planning to apply for any other grants with this?
  • What are your long-term plans with Dotly? How are you planning to fund maintenance and development after the grant?

@justmert
Copy link
Contributor Author

Hi @semuelle, thank you for your good questions. Here are the details,

  • Yes, just like that. You can paste anyone's account address and it will list statics just like the mockups. There can be some auth/signing in the future but it is not planned yet.

  • PolkaFlow is completed recently (2 weeks ago maybe) but I didn't quite like the some details and backend infrastructure and updating the project with its current technical scheme/codebase became cumbersome. The app has missing details that reduce user experience (like descriptions of charts etc.) and I have a much bigger vision for that project like adding Twitter/Discord statics, electric capital developer reports charts, etc. In 1 month, I will be updating the project under the name Flowana (see the backend) under no additional grants or funding. PolkaFlow will still be live and can be useful already, this domain will be redirected to polkadot.flowana.xyz domain when the Flowana is completed. Since, I have started the development of Flowana, I didn't quite promote PolkaFlow, so please don't expect much visitors from the app. When Flowana is completed, I will create a pr in here to update wiki page and other details and will start to promote Dotly as well as Polkaflow.

Screenshot 2023-06-20 at 16 51 55
  • No, I haven't applied for other grants for this project, and will not.

  • The technical maintenance cost of the Dotly won't be much and grant will be cover that. Besides, the maintenance and development cost will be covered from the grants as well just like the Polkaflow. Since these apps doesn't require manual/ongoing-maintenance, it will live and serve well unless there is an API changes, bugs or critical feedbacks. If any of these occurs, I will maintain it.

I have expressed my long-term plans in the future plans section in my proposal. I want to expand its capabilities such as Kusama and other parachains, and include other widgets like Proxies and Crowdloans statics.

Besides that, there are some big features like unsupervised learning algorithms to perform segmentation analysis etc. Since it these are big-scoped features that can take long-time, I can apply for follow-up grants or treasury if you, W3F team finds suitable.

Thank you.

@justmert justmert requested a review from semuelle June 20, 2023 14:17
@justmert
Copy link
Contributor Author

Hi @semuelle, please let me know if you have any question. Thank you.

@justmert
Copy link
Contributor Author

justmert commented Jul 5, 2023

Hi @semuelle, eagerly waiting for your review. Thank you.

Copy link
Member

@semuelle semuelle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the updates and sorry for the late reply, @justmert. My conclusion is that this project, or at least parts of it, would be a better fit for a wallet, where this information might be used for analysis and accumulated across accounts and is only accessible for the owner. I am also not too keen on the gamification idea.

I will ping the rest of the committee again, they might be of another opinion.

@justmert
Copy link
Contributor Author

justmert commented Jul 6, 2023

Thanks for the review @semuelle. Here is my thoughts,

Of course, a wallet-based project could indeed provide a nice analysis, as you mentioned. However, your suggestion changes the scope and purpose of the project a bit. If I understood correctly, you are suggesting that instead of providing an account-based analysis to user (account owner) X, it would be better to only provide aggregated analysis accessible to that user for their multiple accounts. This significant change in scope could be presented as a separate project. However, an account-based analysis offers a more detailed framework that is understandable and interpretable for users. Currently, the project can be summarized as a "account explorer in a fun and insightful way." If I modify it according to your suggestion, it will be based on wallet instead of accounts.

DOTLY is designed to gamify the account tracking process and provide users with a sense of achievement and progression, so gamified elements play an important role. Of course, besides features like levels, a simple analytics presentation could also be provided. However, I believe that these gamified features will increase the adoption of the project by account holders.

If @keeganquigley and @Noc2 also approve of this suggestion, I can modify the project scope as follows: I will create a page where I list all the account addresses associated with wallet owner X, and when X clicks on one of the accounts, they will only access the analysis specific to that account (as in the current project proposal). Additionally, on this new page, I will also provide the aggregated analysis of all the listed accounts in wallet level, and I can implement wallet authentication so that only X can access these analyses. It will be similar to the Polkaflow, while examining the statistics of each project separately, you can also view the aggregated data of the entire ecosystem. However, since the account analysis retrieves, processes, and formats indexed data for presentation on the frontend, the processing part may take some time (depending on the widget). If this is done for all wallets, it may not yield the desired results in practice.

I believe that the current scope is more focused and directed towards a single purpose, which is providing account analysis in an easy-to-use manner. I do not consider making the project more complex and creating a complicated system that increases the budget and maintenance to be appropriate.

However, please note that I am open to all kinds of improvements and developments so I want to get comments from @keeganquigley, and @Noc2 too. Thank you for your efforts.

@semuelle
Copy link
Member

semuelle commented Jul 11, 2023

Since this application hasn't garnered any approvals for three weeks, I am closing it. Thank you for putting in the effort, @justmert, and engaging with us. I hope you'll find a way of making this project a reality. Feel free to apply again in the future.

@semuelle semuelle closed this Jul 11, 2023
@justmert
Copy link
Contributor Author

justmert commented Jul 11, 2023

Hey @semuelle, actually two of the three grant reviewers (@keeganquigley, and @Noc2) has approved my project but you didn't give me review for about three weeks and I have waited for you. This is actually little bit unfair, since I have give all the answers to any questions and has started the project. Please re-open the application to be reviewed.

If you don't want to give review to my application, then I can take a review from another member of committee like @takahser etc.

Please note that, I have been approved total of 2/3 so 'application hasn't garnered any approvals' must be mistake.

Just for the note that, I was waiting 3 weeks to be reviewed by you.

image image

I hope, you understand me. Thank you.

@takahser
Copy link
Collaborator

@justmert thanks for reaching out to me here. I've actually skimmed the application and was hesitant to give my approval, but didn't find the time to state my opinion here. Hence, I'm going to do this now.

Unfortunately, I won't approve it neither due to the following reasons:

  • personally I don't see much value in that application on itself
  • if it was embedded into a wallet, it might be more useful
  • similar to what was already stated in the conversation above, I'm not convinced of the gamification aspects of your proposal

Nevertheless, I wish you all the best for the future of this project and I hope you'll prove me wrong. 👍😃

@justmert
Copy link
Contributor Author

Thanks for the update @takahser. Actually I was ready to make adjustments based on any review. @semuelle gave a review and said that he wanted to take opinions from other members. Without this yet, my application has been closed.

I kindly request to get a full review and so that I can adjust to my proposal just like I did in above.

Thank you.

@Noc2
Copy link
Collaborator

Noc2 commented Jul 11, 2023

Just clarify here: None of the other committee members were willing to proceed with the application. Therefore @semuelle closed it. If you want to change the application, I can either reopen it, or you can simply create a new PR. That said, after the internal discussion and taking a closer look at your previous projects (which don't seem to be maintained), I would also be interested to learn more about your long-term plans for this or your next project and who you mean by We. Especially since no one ever seems to have contributed to your projects other than yourself. Additionally, are the future plans regarding your previous project still relevant: https://github.com/w3f/Grants-Program/blob/master/applications/polkaflow.md#future-plans?

@justmert
Copy link
Contributor Author

justmert commented Jul 11, 2023

Thanks for the response @Noc2. Actually my old project PolkaFlow it is actively maintained as I have stated before. I was improving structure/implementation of backend functions and algorithms in this repository, just to give a better view of insights. You can see the changes, and compare with my old backend. Besides, I was adding features like Polkadot forum insights and was implementing Discourse widgets.

As can be seen, I haven't dropped the maintenance. What my long-term plan in Polkaflow was 'Incorporating additional metrics and data sources to provide more detailed insights into projects'. This is what I do right now so I abide long-term plans and in short time Flowana (oldly Polkaflow) will be live with much better insights and will open social media accounts, distribute it to project owners and promote it in anywhere possible.

'we' is a simple mistake of language translation because sometimes I convert to English from my native language with tools just for clarification, and I must have missed them. Sorry for that.

I didn't know the internal conversation so I have assumed that @semuelle closed the PR because of timeout. Since I was ready to answer all of the reviews, and waiting to be reviewed by Semuelle for about 3 weeks. Closing the PR was surprised me.

If none of the other committee members are willing to proceed with the application, I can reduce the project to level 1, delete the disliked features (gamified elements) and some parts (since I am reducing the budget) if possible. I want to change my application so I kindly request this PR to be reopened. Thank you.

@Noc2 Noc2 reopened this Jul 12, 2023
@CLAassistant
Copy link

CLAassistant commented Jul 12, 2023

CLA assistant check
All committers have signed the CLA.

@Noc2
Copy link
Collaborator

Noc2 commented Jul 12, 2023

@justmert, thanks for the quick reply here. As promised, I reopened it, and sorry for the confusion.

@justmert justmert dismissed stale reviews from Noc2 and keeganquigley via 569adb7 July 12, 2023 14:31
@justmert
Copy link
Contributor Author

Thanks for the opportunity @Noc2. I have updated the proposal based on the reviews thus, deleted gamification elements, reduced the level and the budget. Since I have reduced the budget, XCM widget part is removed. This is the summary of my changes. Thank you, and waiting for your reviews.

Copy link
Collaborator

@Noc2 Noc2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the update. I will share it again with the rest of the team.

Copy link
Contributor

@keeganquigley keeganquigley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @justmert thanks for making the changes and reducing the scope/price. I'm willing to give you a chance for this price, and looking forward to seeing what you come up with.

@Noc2 Noc2 merged commit b67f2cc into w3f:master Jul 17, 2023
6 checks passed
@github-actions
Copy link
Contributor

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.

Before you start, take a moment to read through our announcement guidelines for all communications related to the grant or make them known to the right person in your organisation. In particular, please don't announce the grant publicly before at least the first milestone of your project has been approved. At that point or shortly before, you can get in touch with us at [email protected] and we'll be happy to collaborate on an announcement about the work you’re doing.

Lastly, please remember to let us know in case you run into any delays or deviate from the deliverables in your application. You can either leave a comment here or directly request to amend your application via PR. We wish you luck with your project! 🚀

ainhoa-a pushed a commit to ainhoa-a/Grants-Program that referenced this pull request Jan 26, 2024
* Create dotly.md

* Update dotly.md

* Update dotly.md

* Update dotly.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready for review The project is ready to be reviewed by the committee members.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants