w3f / Grants-Program

Web3 Foundation Grants Program
https://grants.web3.foundation/
Apache License 2.0
1.02k stars 2.04k forks source link

propose pallet-ordinals #2360

Closed aa3ron closed 2 weeks ago

aa3ron commented 1 month ago

Project Abstract

This project builds a utility substrate pallet to index RUNE UTXOs of bitcoin. It allows any parachains or substrate solochains to index RUNE UTXOs in their runtime using offchain worker.

Grant level

Application Checklist

github-actions[bot] commented 1 month ago

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

aa3ron commented 1 month ago

I have read and hereby sign the Contributor License Agreement.

aa3ron commented 1 month ago

Hi @aa3ron, thank you for the application and sorry for the late reply. I appreciate that you are upfront about the lack of previous open source work. I also see that you have already done quite a bit of work on the pallet already and you are willing to take 100% vested DOT payment.

Can you explain the background of this project? What is your motivation to implement this? Are you planning to use it in future projects?

Thanks for feedback. Maybe I didn't describe this project very clear. I'll add some explain here then update the markdown.

The Rune protocol is popular in BTC ecosystem but it relies on the centrailized indexer to track all UTXOs, i.e. people or some services couldn't just use the BTC RPC node to comfirm the Rune transactions but require an extra component, that is the Rune indexer. But how to make the indexer trustless? no way but make it decentrailized. We believe that substrate is the best choice to implement this.

About the future plan, it could be used as a reliable indexer for any BTC bridge projects or parachains that want to bring Rune into their ecosystem. Maybe we will develop a BTC layer2 based on substrate supporting BTC & Rune natively but I can't make a guarantee right now since it is a huge project :)

PieWol commented 3 weeks ago

Hey @aa3ron , thanks for elaborating further. Have you identified a need for this project that isn't based on your own views? Are there people that would enjoy this kind of decentralized indexer? Do you have a model in mind that would make it economically attractive to run this service as a node provider? Are there any commitments by relevant players in the rune / ordinals community that would enjoy following this web3 vision of decentralized infrastructure?

aa3ron commented 3 weeks ago

@PieWol Thanks for the feedback.

Have you identified a need for this project that isn't based on your own views? Are there people that would enjoy this kind of decentralized indexer?

Not yet.

Do you have a model in mind that would make it economically attractive to run this service as a node provider?

We'd like to just provide such a tool/component rather than an online service. That's why this proposal ispallet-ordinals. But if someone developments a BTC <> substrate bridge or BTC layer2 supporting RUNE, it makes sense to charge a bridge fee for each transaction.

Are there any commitments by relevant players in the rune / ordinals community that would enjoy following this web3 vision of decentralized infrastructure?

Honestly, I have no an idea about what does the rune/ordinals community think about the decentralized indexer because we don't know so much friends in this field. But I am pretty sure that decentralization does matters. If we could receive this grant, we'd love to demonstrate the indexer to rune communities. In my memory, there was a issue about the data-inconsistence between a CEX and the brc20 explorer. The decentralized indexer is the best solution.

PieWol commented 3 weeks ago

Thank you for elaborating. Given that we only recently funded a bitcoin related grant that serves as a substrate showcase I would prefer grants that try to build on Polkadot and for the Polkadot ecosystem. So sadly I don't think this is a good fit for our grants program. The idea is really nice though and I think it's a great usecase for a substrate project. I hope you can get your project funded by the ordinals community.

aa3ron commented 3 weeks ago

Thank you for elaborating. Given that we only recently funded a bitcoin related grant that serves as a substrate showcase I would prefer grants that try to build on Polkadot and for the Polkadot ecosystem. So sadly I don't think this is a good fit for our grants program. The idea is really nice though and I think it's a great usecase for a substrate project. I hope you can get your project funded by the ordinals community.

Maybe this tool is suit for some other projects built on Polkadot, a BTC layer2 parachain of Polkadot - - Thanks anyway :)

PieWol commented 3 weeks ago

Thats true, for any chains in the Polkadot ecosystem, that would like this kind of service, this would be a great piece of work. Let's see what my colleagues say. Maybe they have a different opinion and are convinced by your application.