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

Application: pallet-bitcoin #2210

Closed
wants to merge 2 commits into from
Closed

Application: pallet-bitcoin #2210

wants to merge 2 commits into from

Conversation

liuchengxu
Copy link
Contributor

@liuchengxu liuchengxu commented Feb 8, 2024

Project Abstract

The primary goal of this project is to provide a generic and reusable Bitcoin light client implementation in a Substrate pallet. This implementation will store Bitcoin block headers and enable trustless proof of BTC transaction inclusion. This pallet
allows quick and easy BTC light client integration for any Substrate-based project.

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 Polkadot (USDC & USDT) address in the application).
  • I am aware that, in order to receive a grant, I (and the entity I represent) have to successfully complete a KYC/KYB check.
  • 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

github-actions bot commented Feb 8, 2024

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

@github-actions github-actions bot added the admin-review This application requires a review from an admin. label Feb 8, 2024
@liuchengxu
Copy link
Contributor Author

I have read and hereby sign the Contributor License Agreement.

@PieWol PieWol self-assigned this Feb 13, 2024
@PieWol
Copy link
Member

PieWol commented Feb 13, 2024

Hey @liuchengxu ,
thank you for the application!

You said that there already is a draft concept for the project. Would you be comfortable with sharing this draft with the w3f prior? If you don't want to make it publicly you can also send it to me via email to [email protected]
to keep it private.

I hope to gain some further insights to your vision by reading the draft. Looking forward to hearing from you :)

So that it's more obvious for the reviewers.
@liuchengxu
Copy link
Contributor Author

@PieWol Thanks for the review. The design document draft is here, which is already mentioned in the Project Details section. Anyway I have updated the link to the Development status section as well to make it more obvious :P

@PieWol
Copy link
Member

PieWol commented Feb 13, 2024

Haha, no idea how I missed that. Thanks!

@PieWol
Copy link
Member

PieWol commented Feb 16, 2024

Hey @liuchengxu ,
After reviewing your draft paper and the interlay repo I can confirm your statement that what you propose to create is already there just with additional business logic on top. I'm sure it's possible to create a more "generic" lightclient pallet as you envisioned by reusing existing code and stripping out the extra business logic.

It doesn't look like a hurdle for parachain teams to me to reuse the interlay code and simply adapt it to their project. Can you show me teams or individuals that have expressed their desire for the pallet you propose?

Kind regards

@liuchengxu
Copy link
Contributor Author

Can you show me teams or individuals that have expressed their desire for the pallet you propose?

  • while I don't have specific individuals or teams to reference at this moment, I can provide insight into the broader demand within the Substrate ecosystem. I've observed a growing interest in building Bitcoin-related projects in the entire industry. Many developers are exploring ways to integrate Bitcoin functionality into their projects, whether for cross-chain interoperability, decentralized finance (DeFi) applications, or other innovative use cases. If they choose Substrate framework, they may need a BTC light client pallet.
  • Personally, I am eager to see the availability of a reusable BTC light client pallet. The genesis of this idea stems from my own contemplation of initiating BTC-related projects using Substrate. I recognize the value of streamlining development processes and accelerating project timelines. By having an off-the-shelf pallet specifically designed for BTC light client functionality, developers can focus more on building unique features and applications rather than investing time in reinventing the wheel or navigating through complex codebases.

It doesn't look like a hurdle for parachain teams to me to reuse the interlay code and simply adapt it to their project.

While leveraging the existing codebase from projects like Interlay may indeed be feasible for experienced Rust engineers (may still take a few weeks if he never works on this topic though), it's important to consider the broader implications for the Substrate ecosystem. Simplifying the development process by providing modular, reusable components not only fosters innovation but also lowers the barrier to entry for newcomers. By offering a standardized solution, we empower developers of all skill levels to participate in building the next generation of blockchain applications without requiring deep domain expertise or extensive codebase comprehension.

In summary, while it may be possible to adapt existing code from projects like Interlay, the true value lies in creating a more accessible and efficient development experience for the entire Substrate community.

@PieWol
Copy link
Member

PieWol commented Feb 19, 2024

Thank you very much for elaborating on these points. I will mark the application as ready for review and notify the committee 👍

@PieWol PieWol added the ready for review The project is ready to be reviewed by the committee members. label Feb 19, 2024
@takahser
Copy link
Collaborator

@liuchengxu unfortunately, the W3F Grants Committee decided not to go forward with your proposal, since similar solutions already exist as pointed out by @PieWol. Hence, it's difficult to justify the funding of an alternative solution, even if it'd be more reusable/developer-friendly.

Thanks for your interest in our program. We wish you all the best for the future of your project.
You're welcome to apply again in the future for another project if you think it could be a good fit with our program.

@takahser takahser closed this Feb 22, 2024
@liuchengxu liuchengxu deleted the pallet-bitcoin branch February 22, 2024 12:32
@takahser takahser mentioned this pull request May 21, 2024
12 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
admin-review This application requires a review from an admin. 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.

3 participants