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
DLC.link: Bitcoin-native, non-custodial transactions #289
Comments
Thanks for submitting a grant proposal. Our team will review your submission and get back to you. |
Great to see this proposal. Following-up from the grant meeting this morning, it would be great to see a more agile approach to deployment of this roadmap. Instead of working on everything in parallel with a waterfall-style release at the end, it would be great to know in what order different aspects of this project will be available so that our startups can utilize them! Edit (More Thoughts)
|
Hi guys! For one, I'm very excited that a team is going to be pushing the Chainlink integration to completion. Even if this grant achieves just that, it's a win. Secondly, from the Zest Protocol perspective we'd love to see something in Item 2 on operating a DLC using inputs from Clarity. To use DLCs for managed BTC liquidity pools, we'll need to give the pool manager (pool delegate) the ability to unlock escrowed BTC to a borrower. This might be consensus-breaking - if it is, we'd want to slot it into Stacks 2.1 which will likely be ready by Q3. I'd be happy to provide some more details on how Zest Protocol intends to use DLCs on a call. |
Excellent proposal! And a solid team behind it. I'd be great if you could keep us on to date on your progress either here, or through an email newsletter. Looking forward to hearing more. |
I understand that the current proposal only implements an oracle with a price feed (such as BTC/USD). I think it would be beneficial to generalize the type of oracle so that we can implement an oracle for events that happen on the Stacks blockchain. |
Isn't publicly available? https://discord.com/channels/621759717756370964/940317219177525358 |
It's not an open channel currently, so ping @will-at-stacks for an invite. But at this point it could probably be moved under Developers. There is a chainlink-testing channel that could be merged into this. |
Thanks for the feedback. We intended to capture events as "non-financial data" in milestone #3. I'll add a subtask to include that explicitly. |
Thanks! Please sign up at https://dlc.link to receive project-specific content (included in "documentation and training" in milestone 5) |
Thank you for the support! This is intended to be covered in items 2 and 4, though our current wording is imprecise. We have a call set this Thurs, so let's dig in then. We'd also love your advice on what's coming up in Stacks 2.1. |
Thank you for the detailed comments and apologies for my delay in responding. I wanted to get back to you when I had meaningful information to share. Feel free to comment further in GitHub and we can also set time live as well (I'm at akibalogh#1043).
We certainly didn't want to create the impression that this would be delivered as a waterfall! Our understanding of the goal of last Friday's presentation was to begin to formally start working on it and bill hours against the work. Now that we're engaging technical resources, we're able to provide a technical roadmap that has been validated by Dakai and our team. This Thursday, we're provide Stacks Foundation an initial roadmap with upcoming due dates so that they can approve the partial progress made so far. Some of the more distant deliverables will be marked TBD. As a sneak preview, the first delivery date we're aiming for is a prototype CL-Stacks bridge by Thurs March 31, so that we can also present it at the Stacks event in Miami the following week.
We feel comfortable with the 5 overarching goals and the known subtasks. Since this project has heavy product development components, the number and complexity of subtasks will increase as we make progress in our research and product validation work.
Given the scope of what we're looking to do, I don't see an issue. Stacks teams are eagerly anticipating a Chainlink oracle and see valuable use cases for DLCs as well. Last year, the challenged launch of the CL-Stacks adapter and the issue that Arkadiko ran into both clearly show that this problem is a major barrier to Stacks' further development. Given the business value unlocked by this project, we see a lot of upside. The resources for this engagement are scoped in an appropriate manner.
To keep costs low, none of us are currently full-time on DLC.link. We all have the ability to ramp up to full-time, but we wanted to present a more affordable package by diversifying our time over multiple projects. Taking just me as an example: as a combined project leader/product manager/project manager, I'm able to provide 40 billable hours per week, but I am aiming to only work 20-30 billable hours so as to keep costs within the indicated budget, while still hitting the milestsones indicated. Though we don't have a track record at Stacks yet, our professional backgrounds indicate that we're experienced resources who have a history of following-through on our commitments.
This critique of Milestone 3 is completely fair, since we've only provided limited information to date. In general, these milestones are getting filled out as we work with teams at Stacks and are going to get updated as we progress. Case in point, Milestone 3 was just updated today with new requests from two Stacks teams. Our request for Milestone 4 is predicated on the fact that there are unknown unknowns as it pertains to Clarity language extensions. I expect this milestone to evolve as we get through Milestones 1 & 2. Essentially, this research enables us to build something that Stacks teams and portfolio companies can implement in practice. As our collective understanding of the development need evolves, we'll evolve this milestone to reflect that. Milestone 5 helps address a specific request from the Stacks Foundation. As technical founders, it's easy to deprioritize documentation and training. More broadly, onboarding new users is a huge problem at crypto in general. We also anticipate that there will be marketing activities (such as the newsletter that was asked for in a previous question) that is very necessary but can easily get skipped if not resourced adequately. I hope that this provides more detail on our thought process. Again, happy to jump on live and talk through this as well. |
Thanks for all your work on this. As per my email, we will discuss these revisions internally tomorrow. Adding this note for the community record:If approved, would the following payment and progress review schedule be amenable to you?
|
@owenstrevor and All - please find our updated roadmap here:
@will-at-stacks thank you - that works great for us |
Pleased to let you know that your grant is approved!
LFG!!! |
Congratulations. Your grant is now approved. Please complete the on-boarding link here: https://grants.stacks.org/onboard?q=dc7c6a171af55a098d6c1bdca9fac403 |
@Akibalogh Best, Facilitate the creation of a Chainlink oracle on the Stacks blockchain using the generalizable OCR model:
|
Hello and thank you for participating in the Stacks Foundation Grants Program! We are in the process of migrating from GitHub to the new Grants Dashboard. In order to complete your grant, you will need to submit any remaining Progress Review and/or Final Review requests through the Dashboard in order to receive your remaining payments.
Lastly, please note we are marking this grant 'closed' on GitHub for organizational purposes, but it is still 'open' on the Grants Dashboard. Thanks and we hope to continue to support your efforts with additional grants! Best, |
How can I follow the milestones of this Grant? |
Hey @Hero-Gamer good question, and thanks for taking interest and following up! We don't have a public roadmap that clearly connects to these milestones, but I can at least give some updates here. Milestone 1: Chainlink price-feed oracle on Stacks. Milestone 2: Implement a DLC on Stacks. Milestone 3: Research applicability for DLCs to solve pain points for Stacks teams Milestone 4: Research regarding adding Clarity language enhancements to support launching DLCs Milestone 5: Create documentation and training materials Let me know if you have any more questions, or think any of this information should be released publically in discord, or via some marketing channel, etc. |
Background
What problems do you aim to solve? How does it serve the mission of a user owned internet?
Stacks does not have a reliable service to provide its Layer-1 blockchain secure and accurate off-chain pricing data. For a robust, secure, and trust-less decentralized finance (DeFi) experience on applications such as ALEX and Arkadiko, which operate on the Stacks blockchain, the need for a reliable on-chain price oracle is a critical component.
The interest and desire for a non-custodial BTC borrowing/lending protocol is growing. The use of a stable oracle solution could be used to provide accurate price data which then allows the proper margin requirements, loan interest payments, or liquidations to execute.
Other tasks such as routing payments/transactions on the Stacks blockchain, require the interaction of a third-party. To keep with the mission and goal of BTC and wealth self-custody, a partnership between the Stacks Foundation and DLC.link can explore ways to utilize technology to allow for this to happen.
Project Overview
What solution are you providing? Who will it serve?
The use of Discreet Log Contracts (DLCs) in combination with a trusted oracle solution such as Chainlink, solves the problem of unlocking bitcoin liquidity without involving a custodian or having to trust a third-party. This technology will serve anyone who is willing to only use bitcoin as collateral to open, pay interest, and close a loan agreement in a way that aligns with the bitcoin philosophy around a trustless monetary system that settles things in a programmatically, immutable way.
Scope
What are the components or technical specs of the project? What will the final deliverable look like? How will you measure success?
Summary of Scope Items:
Item 1: Create a Chainlink oracle smart contract on the Stacks blockchain
Create a Chainlink BTC-USD price feed contract that lives on the Stacks blockchain. To do this requires developing a platform to interact with Chainlink external adaptors and the actual adaptor itself. In addition, this scope item includes research and information gathering around how existing smart contracts on Stacks would utilize price information.
Item 2: Implement a DLC on Stacks utilizing a price-feed oracle
Create a smart contract that is deployed when a DLC is created with the following properties:
Item 3: Research applicability for DLCs to solve pain points for Stacks teams
Initiate conversations with active Stacks users and protocols to gather information around other potential data that would be helpful to bring into the Stacks ecosystem. Chainlink currently has weather data, verifiable randomness, and other external adapters which allow for non-price information to be vetted and printed using a decentralized oracle network.
Item 4: Research enhancements to the Clarity smart contract language that would benefit development on Stacks
Certain packages, plug-ins, and contracts will most likely need to be created for a successful integration with the Chainlink oracle network and DLC connectivity. The team is interested in tracking what future needs/enhancements can be made to achieve easier widespread use of the DLC.link bridge and oracle data. Call back functionality for the creation of DLCs on Stacks may be a significant enhancement to open more use cases.
Item 5: Create documentation and training materials
For the above items, technical documentation will be created to allow essential information around the smart-contacts, services, code, etc. to be available for those who need to utilize it. Training materials as well as “Getting Started” guides will be built for developers and users to become familiar with DLC.link and understand the capabilities it provides.
Budget and Milestones
What grant amount are you seeking? How long will the project take in hours? If more than 20, please break down the project into milestones, with a clear output (e.g., low-fi mockup, MVP with two features) and include the estimated work hours for each milestone.
Total Grant Request: $250,000
Scope of work, deliverables, and grant amount of total:
Facilitate the creation of a Chainlink oracle on the Stacks blockchain using the generalizable OCR model
Implement a DLC on Stacks
Research applicability for DLCs to solve pain points for Stacks teams
Research regarding adding Clarity language enhancements to support launching DLCs
Create documentation and training materials
Team
Who is building this? What relevant experience do you bring to this project? Are there skills sets you are missing that you are seeking from the community? Please share links to previous work.
Aki Balogh (https://www.linkedin.com/in/akibalogh/)
Aki invented the predominant method for content optimization for SEO via topic modeling and founded MarketMuse to bring it to market. MarketMuse is an AI-driven content intelligence platform which was named the “undisputed leader in content optimization” in 2019. Previously, Aki focused on scalable data infrastructures at InfiniDB and OpenView Venture Partners and designed decision-support systems for Fortune 500 clients at Diamond.
Jesse Eisenberg (https://www.linkedin.com/in/jesses16)
Jesse has served in a number of software engineering and engineering management roles, spanning Pivotal Labs, MoPub and Twitter. He’s a serial entrepreneur excited to put his knowledge of blockchain to work.
Dan von Kohorn (https://www.linkedin.com/in/vonkohorn/)
Dan spans several roles: head of Enterprise Solutions at Chainlink, serial entrepreneur (16 companies and counting), Advisor to ConsenSys and Managing Partner at Broom Ventures. Currently part-time CEO at IPIQ, an NFT platform to secure intellectual property. Deep background in quantitative finance.
Laszlo Mari (https://www.linkedin.com/in/laszlolm/)
Laszlo runs Dakai.io, a development shop based in Hungary that is a preferred development partner for Binance, the government of El Salvador, AlphaPoint and others.
Matt Bombard (https://www.linkedin.com/in/matthewbombard/)
Matt comes from a financial services background in technology audit. He is passionate about blockchain technology, emerging DeFi challenges, financial derivatives, and analytics.
Advisors:
Bernat Nacsa (https://www.linkedin.com/in/bernatnacsa/)
Bernat is a VC with Day One Capital, but he also is interested in collaborating with startups to build out their early visions. He brings his broad understanding of DeFi as well as academic knowledge in financial instruments to the team.
Pablo Fernandez (https://www.linkedin.com/in/pablofer)
Pablo is Director of R&D at Swan Finance. His prior experience spans Bitcoin Beach, Drift, HotelTonight and a number of startups.
Risks
What dependencies or obstacles do you anticipate? What contingency plans do you have in place?
Since Clarity is a relatively new language, our knowledge around the Clarity smart-contract programming language may be limited. That said, we’ve been told that dev shops are able to on ramp to in within a 4-week period.
Because Clarity and STX only have read-only access to the Bitcoin network, there may need to be a permissions workaround (e.g. using wrapped BTC) to settle transactions. This may present unexpected obstacles, but is an issue that Trust Machines is actively working on.
Chainlink Labs work is required for testing and integration to develop a CL oracle on Stacks in production. Miscommunications or delays at Chainlink Labs will directly affect our ability to deliver Chainlink oracle value.
We’re assuming that the generalizable OCR model at Chainlink has been widely adopted and can be utilized to build upon. The current implementation of OCR only supports EVM-based systems. Delays in its completion would become a bottleneck for us as well.
Community and Supporting Materials
Do you have previous projects, code commits, or experiences that are relevant to this application? What community feedback or input have you received? How do you plan to share your plan to the community over time and as the final deliverable?
Every two weeks, we plan to hold community calls so as to update on progress against milestones. We’ll also actively participate on the Stacks Discord and will be available to answer questions. Within a week, the #dlc-chainlink channel on Discord has already gathered 24 members. (Link: https://discord.com/channels/621759717756370964/940317219177525358)
The DLC.link team previously received a grant from Chainlink to bridge Chainlink oracle data to Discreet Log Contracts on the Bitcoin network. That work is largely aligned with this initiative. For the announcement, see: https://blog.chain.link/dlc-link-chainlink-grant-bitcoin-discreet-log-contracts/
Selected Dakai Case studies:
The text was updated successfully, but these errors were encountered: