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

Adafel - ML Engine for Filecoin #1777

Closed
Prajjawalk opened this issue Jul 23, 2024 · 2 comments
Closed

Adafel - ML Engine for Filecoin #1777

Prajjawalk opened this issue Jul 23, 2024 · 2 comments
Assignees

Comments

@Prajjawalk
Copy link

Prajjawalk commented Jul 23, 2024

Open Grant Proposal: Adafel - ML Engine for Filecoin

Project Name: Adafel

Proposal Category: FVM, IPC

Individual or Entity Name: Adafel

Proposer: Prajjawalk

Project Repo(s) [https://github.com/adafel-official/adafel-core, https://github.com/adafel-official/adafel-solidity, https://github.com/adafel-official/openDataLibrary-js-sdk].

Do you agree to open source all work you do on behalf of this RFP under the MIT/Apache-2 dual-license?: Yes

Project Summary

Adafel is an IPC subnet that aims to revolutionize the smart contract ecosystem by integrating advanced onchain machine learning capabilities. Currently, the smart contract logic is pretty much hard-coded and operates in a sandboxed environment which leaves out very little scope for automation and risk aversion in case of external threat.

By introducing wasm precompiles to handle heavy ML computations within the smart contract environment, Adafel seeks to enhance automation and unlock new potential for decentralized applications. This project addresses the need for more intelligent and autonomous smart contracts that can process complex data and make informed decisions in real time.

Project architecture -
arch

We will create wasm precompiles for the following ML algorithms to be used directly within smart contracts -

  • Linear Regression
  • Logistic Regression
  • KNN Classification and Regression
  • Decision Tree
  • Random Forest

Impact

Adafel addresses key pain points in the current smart contract ecosystem, such as the lack of robust, onchain machine learning capabilities and the difficulty of performing heavy computational tasks within smart contracts. The benefits of this project include improved efficiency and functionality of smart contracts, enabling more sophisticated applications in various fields, including finance, healthcare, and supply chain management. Failure to implement such solutions could limit the potential of smart contracts, keeping them confined to relatively simple tasks. Success for Adafel would mean widespread adoption of its ML in smart contracts, significantly advancing the capabilities of the decentralized web.

How Adafel Benefits the Filecoin Ecosystem

  • Improving the Storage Deal-Making Process: Adafel can enhance the automation and intelligence of storage deal-making on the Filecoin network. By leveraging ML models, Adafel can optimize pricing strategies, predict demand, and recommend optimal storage deals, thereby streamlining the process for both providers and consumers.

  • Storage Provider and Consumer Matchmaking Engine: Adafel can serve as a sophisticated matchmaking engine that intelligently pairs storage providers with consumers based on criteria such as data requirements, storage capacity, and reliability. This enhances the efficiency and effectiveness of storage deals within the Filecoin network.

  • DeFi Automation: Adafel can bring advanced automation to decentralized finance (DeFi) applications on the Filecoin network. By integrating ML algorithms, Adafel can automate complex financial operations such as lending, borrowing, and trading, leading to more efficient and profitable DeFi ecosystems.

  • Intelligence Layer for Filecoin: Adafel can act as the intelligence layer for the Filecoin network by leveraging the data storage and compute engines on Filecoin to serve the wider Filecoin and IPC ecosystem.

Outcomes

The project will deliver a fully operational IPC subnet capable of handling ML tasks within the smart contract environment. This includes the development of precompiles for ML computations, integration with existing smart contract platforms, and extensive documentation to support developers. Key deliverables include:

  • A functional prototype demonstrating ML capabilities within smart contracts.
  • Comprehensive documentation and tutorials.
  • A series of developer tools and SDKs to facilitate easy integration.

Adoption, Reach, and Growth Strategies

The target audience for Adafel includes blockchain developers, data scientists, and organizations seeking to leverage advanced ML capabilities in their smart contracts. Initially, engagement will focus on the existing developer community through forums, webinars, and hackathons. To onboard new users, we will provide extensive documentation, easy-to-use tools, and direct support channels. Our growth strategy involves partnerships with projects building in the Filecoin ecosystem and continuous community engagement through events and feedback loops.

Development Roadmap

Milestone 1: Prototype Development

  • Functionality: Basic ML precompiles and initial integration with a smart contract platform.
  • Team: 2 developers (2 Rust developers)
  • Funding: $10,000
  • Completion Date: August, 4th week 2024

Milestone 2: MVP completion

  • Functionality: Development of complete MVP with CID data ingestion, model training, and onchain predictions within smart contracts. This will include making MVP robust enough to handle real-world use cases.
  • Team: 2 developers
  • Funding: $15,000
  • Completion Date: October, 3rd week 2024

Milestone 3: Developer Tools and SDKs

  • Functionality: Development of SDKs and tools for developers to integrate Adafel’s ML capabilities into their projects.
  • Team: 2 developers
  • Funding: $10,000
  • Completion Date: November 1st week, 2024

Milestone 4: Community Engagement and Partnerships

Functionality: Hosting hackathons, and webinars, and establishing partnerships with blockchain platforms.
Team: 1 developer, 1 community manager
Funding: $10,000
Completion Date: Q1 2025

Total Budget Requested

Milestone # Description Deliverables Completion Date Funding
1 Prototype Development Basic ML precompiles August, 2024 $10,000
2 MVP completion Adafel Devnet release October, 2024 $15,000
3 Developer Tools and SDKs Solidity and JS/TS SDK release November, 2024 $10,000
4 Community Engagements Events and partnerships Q1, 2025 $10,000

Maintenance and Upgrade Plans

We plan to maintain and upgrade Adafel by continuously monitoring the system, addressing bugs, and integrating user feedback. Future improvements will include expanding the range of ML precompiles, optimizing performance, and enhancing security measures. We will also provide regular updates and new features based on community needs and technological advancements.

Adafel Highlights

We have participated in ETH Global hackathons to do a POC. Here are the links for our hackathon participation:

Team

Team Members

Prajjawal Khandelwal - Lead developer
Shantanu Vishwanadha - JS Developer + Community lead

Team Member LinkedIn Profiles

https://www.linkedin.com/in/prajjawal-khandelwal/
https://www.linkedin.com/in/thecoderpanda/

Team Website

https://adafel.com

Relevant Experience

Prajjawal Khandelwal
Prajjawal is the founder of Adafel. He has been involved in the web3 ecosystem for more than 4 Years and has worked with both EVM and non-EVM L1 and L2 blockchains. He is the core protocol developer of Quantum Resistant Ledger(QRL) which is a quantum-proof layer-1 blockchain and worked on both protocol development and quantum-proof cryptography. Actively involved in open-source projects he has contributed to many web3 protocols such as Waku, Pocket Network, and Prysm.

Shantanu Vishwanadha
Shantanu Vishwanadha is the co-founder and COO at Adafel. Shantanu has collaborated with industry giants such as Google, Algorand, Avalanche, and data-centric protocols like Covalent and Powerloom, which highlights his expertise in managing complex, data-driven blockchain projects. Shantanu has a proven track record of building developer communities from the ground up with over 5+ years of experience.

Team code repositories

https://github.com/Prajjawalk
https://github.com/thecoderpanda

Additional Information

We learned about the Open Grants Program through the Filecoin community forums and are excited about the opportunity to contribute to the ecosystem.

Email - prajjawal@adafel.org

@ErinOCon
Copy link
Collaborator

ErinOCon commented Sep 3, 2024

HI @Prajjawalk, thank you for your proposal! This proposal has reached the final round of our review. We will be in touch if our team has any questions before proceeding with a final decision.

@ErinOCon
Copy link
Collaborator

ErinOCon commented Oct 7, 2024

Hi @Prajjawalk, thank you for your proposal and for your patience with our review process. Unfortunately, we will not be proceeding with a grant for this project. If you have any questions for our team, please contact grants@fil.org.

Wishing you the best with your building progress!

@ErinOCon ErinOCon closed this as completed Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants