completed impact proposal

MLabs - CTL Blockfrost Backend

$50,000.00 Received
$50,000.00 Requested
Ideascale logo View on ideascale
Community Review Results (1 reviewers)
Impact / Alignment
Feasibility
Auditability
解决方案

MLabs has been working with IOG to build the Cardano Transaction Library (CTL), a framework for building Cardano transactions. We propose adding Blockfrost as an available query layer within CTL.

Problem:

Making Blockfrost easily accessible to dApp developers as the default, regardless of all other technical choices, will help Blockfrost adoption grow first and foremost.

Yes Votes:
₳ 226,478,708
No Votes:
₳ 22,337,961
Votes Cast:
617

团队

This proposal was approved and funded by the Cardano Community via Project F9: Building (on) Blockfrost Catalyst funding round.

  • Video cover image

[impact] 请描述你所建议的解决方案。

市场

dApp开发者、链外统计开发者、数据科学家

问题空间

Blockfrost被许多dApps用作所谓的 "查询层",以检查Cardano区块链的状态,并执行某些重要操作,如交易提交和费用估算。其他一些可用于此的服务包括Ogmios、Koios和Carp。

Cardano-Transaction-Library是一个工具包,供开发者为Cardano区块链建立交易。在2022年6月达到了1.0版本,并且已经在几个大规模的工业dApp上看到了链上的采用,CTL目前正在使用Ogmios来填补这一空白。Ogmios是一个自我托管的解决方案,Blockfrost上的一些功能是Ogmios无法提供的,需要额外的基础设施。事实上,CTL用户需要在服务器上运行Ogmios、Cardano节点和其他实用程序,才能在今天成功建立交易。

虽然这种水平的基础设施允许一个可分散的、完全开源的系统,但服务器的设置和维护很耗时,而且[没有人愿意运行自己的服务器](https://notes. alexkehayias.com/nobody-wants to run-their-own-server/)。

一个明确的替代方案是允许Blockfrost作为一个替代的后台服务。用户不需要运行他们自己的服务器,而是提供Blockfrost的API密钥和任何其他所需的配置。然而,他们的服务器的维护可能会大大减少或消除。由于相对容易使用,预计许多开发人员将在开发和生产过程中使用Blockfrost服务作为默认。

[IMPACT] 请描述您提出的解决方案将如何解决您提交的挑战。

我们的建议

MLabs希望为CTL快速开发Blockfrost后端,简化运行CTL所需的必要基础设施,使开发人员能够利用Blockfrost的速度和可靠性。这可以在不需要Blockfrost API集成和cardano-serialization-lib之间的 "胶水代码 "的情况下发生。

取而代之的是,开发人员将能够编写高层次的声明性代码,描述如何以PAB的启发方式构建一个交易。这使得Plutus Pioneer课程的现有培训得到了最好的利用,同时依靠一套可用于生产的工具在引擎盖下。

通过使Blockfrost成为CTL框架内的一个可用选项,我们希望更多的开发者能够测试并最终在未来的许多项目中有效地使用Blockfrost。

/[IMPACT] 有哪些主要的风险可能会阻止你成功地交付项目,请解释你将如何减轻每个风险?

我们的Cardano-Tx-Lib,在Fund8中获得了资金,已经完成了提案中概述的大部分里程碑。因此,目前的建议是决定性的低风险,因为它的重点是整合后端,而且类似的整合已经实现。

[FEASIBILITY] 请提供一个详细的计划,包括交付提案的时间表和关键里程碑。

3个月:

  • 完成一个可以使用Blockfrost进行交易的CTL版本。
  • 展示一个能够在CTL内轻松切换Ogmios和Blockfrost选项的dApp。

6个月:

  • 完成Blockfrost的测试和可靠性计划,以确保积极的用户体验

  • 完成第一个使用Blockfrost采用CTL的dApp的用户体验报告,并解决初始反馈。

    /[FEASIBILITY] 请提供详细的预算明细。

涉及的小时数。625

总计:50,000美元

细分:

设置基本的Blockfrost API调用以符合要求。105

用户API。配置Blockfrost。40

用户API。将Blockfrost与默认运行时互换使用。40

格式转换功能。65

测试。165

演示& 抛光: 110

小计: 525

改变预算。100

总时间: 625小时

总成本:50,000美元

[FEASIBILITY]请提供将从事该项目工作的人员的详细信息。

MLabs

MLabs已经迅速成为Cardano生态系统中最重要的开发公司之一。 我们是IOG Plutus合作伙伴,定期与IOG合作开发Cardano区块链和生态系统。我们的团队由才华横溢的开发人员组成,他们曾帮助建立社区项目,如:。

  • Liqwid
  • SundaeSwap
  • 优化
  • 许多其他项目

通过我们与早期项目的合作,我们拥有社区中最大的Haskell/Plutus开发者群体之一。此外,MLabs有能力在Plutus和Cardano上构思和发送高级应用程序。

网站。<u>https://mlabs.city/</u>

[FEASIBILITY]如果你得到资助,你会在以后的一轮中回到催化剂公司寻求进一步资助吗?请解释为什么/为什么不。

指定的资金应该足以完成我们的目标。我们目前不打算在同一项目下重新申请未来的 "催化剂 "轮融资。

[AUDITABILITY]请描述你将衡量什么来跟踪项目的进展,以及你将如何衡量这些?

我们将衡量。

  • 实施的功能的数量
  • 发现和解决的问题的数量
  • CTL的Blockfrost后端对已采用它的项目的可用性
  • 加入GitHub仓库的贡献者的数量
  • 依靠CTL的Cardano项目的数量
  • 该项目在该领域的普遍认知度

我们期望在这些领域取得增长/积极的成果,并致力于实现我们在本提案中确立的里程碑。

[AUDITABILITY] 这个项目的成功是什么样子的?

项目影响:高

1)**可访问性:**通过向框架用户提供Blockfrost,该框架的任何用户将有机会轻松地测试和使用Blockfrost端到端,从而很快知道Blockfrost是否适合。

2)**提供一个简洁的工具包:**通过精简Blockfrost的API,我们减少了对开发人员理解和学习整个API的要求,而是提供一种直观的方式来使用Blockfrost为其最重要的用例提供的工具:智能合约操作和链外统计数据收集。

MLabs将直接向Cardano社区报告进展和里程碑,在社交媒体上发布演示视频,并与采用合作伙伴合作,在使用新功能时提供体验报告。

###[AUDITABILITY] 请提供信息,说明这个提案是以前在Catalyst资助的项目的延续,还是一个全新的项目。

这是一个新的建议。

社区顾问评论 (1)

Comments

Monthly Reports

Following the Fund9 voting results, MLabs organized a roadmap for integrating Blockfrost endpoints into the API interface of CTL. This piggybacked on early exploratory work we had already done when originally composing our original Fund9 proposal. The timeline identified several key early goals:

  • Make Contract runtime and ConfigParams parametrizable with a backend.
  • Identify core functionality needed to support multiple backends
  • Move every core query layer function to a handle (as in handle pattern)
  • Move every Ogmios query function that is not in the core set to a separate namespace (Contract.Ogmios)
  • Implement stubs for Blockfrost functions in the "core" handle Issues on the CTL repo were added to organize development here, and an initial issue was assigned.

That said, the main focus since project initialization has revolved around the broader architecture of the CTL project and untying it from a particular query layer. Specifically, some broad changes are needed before we can begin supplementing our reliance on Ogmios, the only chain indexer supported up until this point. Work along these lines included:

  • extending the TxConstraints API to support staking operations (stake credential registration, pool registration, etc)
  • extending CTL types to optionally accept staking credentials
  • add constraints that apply these changes to transactions
  • update the Contract interface to support these changes as well as inline datums.

And similar issues are highlighted throughout the CTL repo.

Disbursed to Date
$50,000
Status
Still in progress
Completion Target
4. After 6 months
Comments 0

Login or Register to leave a comment!

The CTL has undergone some moderate reconfigurations over the last two months. Part of these efforts involved complications stemming from a separate query dependency, while others involved changes to make the project backend more generalizable. For instance, developers made progress:

  • considering workarounds for how Blockfrost handles UTXO support
  • designing around Blockfrost's era summaries
  • integrating challenges stemming from changes on the Blockfrost end aiming at integrating CIP25

And other issues.

Perhaps more prominent, however, developers focused on configuring the Contract backend. Changes here were probably the most involved over the last month, and they are important in lay grounding for further Blockfrost integration.

Disbursed to Date
$50,000
Status
Still in progress
Completion Target
3. In the next 6 months
Comments 0

Login or Register to leave a comment!

close

Playlist

  • EP2: epoch_length

    Authored by: Darlington Kofa

    3分钟24秒
    Darlington Kofa
  • EP1: 'd' parameter

    Authored by: Darlington Kofa

    4分钟3秒
    Darlington Kofa
  • EP3: key_deposit

    Authored by: Darlington Kofa

    3分钟48秒
    Darlington Kofa
  • EP4: epoch_no

    Authored by: Darlington Kofa

    2分钟16秒
    Darlington Kofa
  • EP5: max_block_size

    Authored by: Darlington Kofa

    3分钟14秒
    Darlington Kofa
  • EP6: pool_deposit

    Authored by: Darlington Kofa

    3分钟19秒
    Darlington Kofa
  • EP7: max_tx_size

    Authored by: Darlington Kofa

    4分钟59秒
    Darlington Kofa
0:00
/
~0:00