over budget
Petri Nets: a model to define dApps
Current Project Status
unfunded
Total
amount
Received
$0
Total
amount
Requested
$80,000
Total
Percentage
Received
0.00%
Solution

Use Petri Nets as a model to define, validate and execute a Smart Contracts-flows in the creation of headless dApps.

Problem

Es difícil modelar el flujo de procesos asíncronos concurrentes (Smart Contracts) en el desarrollo de dApps

Addresses Challenge
Feasibility
Auditability

Nosotros

1 member

  • download
  • download

[IMPACT]

Handle consecutive Smart Contract invocations (the dApp protocol) within the context of a encapsulating state machine (FSM) as expressed by a Petri Net and executed by an off-chain dApp-container. It will also facilitate cross-chain dApps (e.g. Cardano/Ergo - eUTXO chains) by running the state management via off-chain Petri Net execution. See: https://iandebeer.github.io/web3/blockchain/PetriNets/

Marlowe allows for the development of Contracts but does not provide a framework that allows developers to compose dApps from these contracts while managing the state of the dApp under execution. A Petri Net is a state transition graph that maps Places (wallets/states) to Transitions (Smart Contracts) and Transitions to Places via Arcs (Transactions). It is well suited for describing the flow of discrete concurrent processes. This provides a more concise way to validate, test and execute dApps. The attach pdf provides the context from a general Petri net perspective.

I am not a specialist in Cardano smart contracts, but the contracts themselves are mostly treated as “black boxes” that allow the Transitions (spending/burning of tokens). I am familiar with eUTXO from an Ergo perspective and the principles are the same

[FEASIBILITY]

Development: Provide a framework that maps Participants and Assets from a Marlowe context to Petri Net Places, Marlowe Contracts to Petri et Transitions and the \Transactions with the state transfers as the Arcs and Markers governing the ability to step through the graph.

Test against the Marlowe Playground

Document: Describe the development mythology for dApps using Petri Nets.

Development: 3 man months

Test: 1 man month

Document: 1 man month

Ian de Beer: https://iandebeer.github.io/about/

[AUDITABILITY]

Open source, GitHub access with milestones and sprints

Create and execute a dApp on the Cardano (and.or Ergo) blockchain by modelling smart contracts and wallets as a Petri net.

New

Reseñas de CAs (1)

Comments

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