completed
Rust library for easy off-chain transaction building
Current Project Status
Complete
Amount
Received
₳32,500
Amount
Requested
₳32,500
Percentage
Received
100.00%
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

Rust library for easy off-chain transaction building

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.

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.

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.

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

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

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)

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.
close

Playlist

  • EP2: epoch_length

    Authored by: Darlington Kofa

    3m 24s
    Darlington Kofa
  • EP1: 'd' parameter

    Authored by: Darlington Kofa

    4m 3s
    Darlington Kofa
  • EP3: key_deposit

    Authored by: Darlington Kofa

    3m 48s
    Darlington Kofa
  • EP4: epoch_no

    Authored by: Darlington Kofa

    2m 16s
    Darlington Kofa
  • EP5: max_block_size

    Authored by: Darlington Kofa

    3m 14s
    Darlington Kofa
  • EP6: pool_deposit

    Authored by: Darlington Kofa

    3m 19s
    Darlington Kofa
  • EP7: max_tx_size

    Authored by: Darlington Kofa

    4m 59s
    Darlington Kofa
0:00
/
~0:00