funded
Rust library for easy off-chain transaction building
Current Project Status
in_progress
Total
amount
Received
₳12,800
Total
amount
Requested
₳32,500
Total
Percentage
Received
39.38%
₳12,800 Received out of ₳32,500
Solution

Implement a cardano-cli like wrapper on cardano-serialization-lib (equivalent on MeshJS’s lower level APIs), supporting serious DApps’ backend on rust codebase.

Problem

Cardano lacks libraries for easy off-chain transaction building in Rust, for efficient Cardano application backend.

Impact Alignment
Feasibility
Value for money

Team

3 members

This proposal was approved and funded by the Cardano Community via Project F11: Cardano Open: Developers - technical Catalyst funding round.

[SOLUTION] Please describe your proposed solution.

To implement the same APIs as the Mesh’s lower level APIs, but on natively Rust library of the cardano-serialization-lib. The planned API documentation could be referred to https://meshjs.dev/apis/transaction/builder.

[IMPACT] Please define the positive impact your project will have on the wider Cardano community.

Any Cardano Dapp which would have a backend on Rust could use it to integrate with all logics seamlessly.

[CAPABILITY & FEASIBILITY] What is your capability to deliver your project with high levels of trust and accountability? How do you intend to validate if your approach is feasible?

The engineers involved implemented the same APIs on Mesh (https://github.com/MeshJS/mesh/pull/168). Thus, it also proves the feasibility of the proposed solution as the implementation on Typescript with the exact dependency (cardano-serialization-lib) has already been implemented in Mesh.

[Project Milestones] What are the key milestones you need to achieve in order to complete your project successfully?

Planning (2 weeks)

  • List out all the APIs needed
  • Have a detailed breakdown of tasks for all the activities covered:
  • Package delivery
  • Documentation
  • Community education
  • Budget: 5,000 ADA

Package development (6 weeks)

  • Develop all the serialization logic a s planned
  • Budget: 15,000 ADA

Prepare documentation (2 weeks)

  • Produce the documentation content
  • Host the documentation online with public access
  • Budget: 5,000 ADA

Prepare education material (2 weeks)

  • Produce content for examples
  • Simple transaction (sending ADA and value)
  • Easy smart contract example (unlocking value from single validator / minting single policy)
  • Complex smart contract transaction example (multiple unlocking with multiple minting, with signer & time check)
  • Budget: 5,000 ADA

Deliver education sessions to community (1 weeks)

  • Deliver education sessions to community such as at Gimbalabs live coding session

  • Retain the recording for future users’ reference

  • Budget: 2,500 ADA

    [RESOURCES] Who is in the project team and what are their roles?

The engineers involved in this project delivers the same APIs in Mesh in this pull request: https://github.com/MeshJS/mesh/pull/168

  • Hinson Wong - Cardano engineer

  • Tsz Wai Wu - Cardano engineer

    [BUDGET & COSTS] Please provide a cost breakdown of the proposed work and resources.

Planning = $50 * 40 hours = $2,000 (5,000 ADA)

Development = $50 * 120 hours = $6,000 (15,000 ADA)

Documentation = $50 * 40 hours = $2,000 (5,000 ADA)

Education = $50 * 60 hours = $3,000 (7,500 ADA)

[VALUE FOR MONEY] How does the cost of the project represent value for money for the Cardano ecosystem?

  1. Packages such as Mesh & Lucid have proven this layer of logic abstraction useful for Cardano Dapp development. It also lowers the entrance barriers for seasoned non-Cardano-native software engineers in Cardano development.
  2. With such abstraction logic, it could save tens of thousands in development cost for a single production grade Dapp off-chain. Thus, value for money is justified when there are a few projects building on the package.
  3. There are a bunch of Cardano infrastructure tools built on Rust. The package proposed would be able to natively integrate with production grade Dapps.

Community Reviews (1)

Comments

Monthly Reports

close

Playlist

  • EP2: epoch_length

    Authored by: Darlington Kofa

    d. 3 se. 24
    Darlington Kofa
  • EP1: 'd' parameter

    Authored by: Darlington Kofa

    d. 4 se. 3
    Darlington Kofa
  • EP3: key_deposit

    Authored by: Darlington Kofa

    d. 3 se. 48
    Darlington Kofa
  • EP4: epoch_no

    Authored by: Darlington Kofa

    d. 2 se. 16
    Darlington Kofa
  • EP5: max_block_size

    Authored by: Darlington Kofa

    d. 3 se. 14
    Darlington Kofa
  • EP6: pool_deposit

    Authored by: Darlington Kofa

    d. 3 se. 19
    Darlington Kofa
  • EP7: max_tx_size

    Authored by: Darlington Kofa

    d. 4 se. 59
    Darlington Kofa
0:00
/
~0:00