Skip to content
/ dario Public

Dario life cycle as a FSM and a Dusk contract implementation

Notifications You must be signed in to change notification settings

HDauven/dario

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dario FSM

This repository contains a Finite-State Machine (FSM) implementation of Dario's life cycle.

Structure

The project is organized in three main components:

  • contract: The smart contract that utilizes the Dario FSM for state transitions. It contains the logic to read state and set state. Built to run on the Dusk protocol.
  • dario_fsm: The core Rust library implementing the Dario FSM containing the state transition logic, events and states.
  • test: A test suite for the smart contract.

Prerequisites

Build and test

To build the contract, simply run:

make contract

To test, run:

make test

About

Dario life cycle as a FSM and a Dusk contract implementation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published