Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial docs #11

Merged
merged 3 commits into from
Feb 28, 2024
Merged

Initial docs #11

merged 3 commits into from
Feb 28, 2024

Conversation

uhbif19
Copy link
Contributor

@uhbif19 uhbif19 commented Dec 5, 2023

No description provided.


## Not in scope for current Catalyst funding

* CTL and overall frontend transaction construction model
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How does it differ from mentioned earlier "offchain Tx construction and indexing backend"? Do we cover any other means to generate off-chain code?

Copy link
Contributor Author

@uhbif19 uhbif19 Feb 5, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

indexing backend

It actually get out of scope for Milestones accepted.

Do we cover any other means to generate off-chain code?

There would be no off-chain code generation as part of this project. Only typeclasses.

* Shown twice in CNS Audit
* Shown once in Frada audit (3.2.7)
* Insufficient staking control
* Shown once in CNS Audit - https://github.com/mlabs-haskell/cns-plutus-audit/issues/24
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The link is not accessible for everyone (including me).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. I would ask about it later, but I think they are not published code/audit yet.

which could be tackled generically in our framework.

* Parsing transaction back to state-machine transition
is required for delegated architecures,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What are delegated architectures? Have them got to do with Hydra delegation topology.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Delegated architecture is one where each client only contacts chain, in that case L2, thought Delegate servers. That is simplest and only architecture working right now for Hydra. We spawn bunch of Hydra Nodes, each containing Delegate server accepting client requests. I am saying about old Hydra Auction or probably any Hydra baked project for now.

This Delegate server should keep track of Hydra state overall and Tx pushed on it specifically. Which gives a need to parse Tx from intended DApp protocol, to keep its current state. For example: Auction has CurrentBid state, which delegate server should be aware of. This means some DApp Tx-parsing should be present. We aim to give generic utils for this.

like optimization by sharing (used for example in `hydra-auction`)
and multiple commiters schemes (used in `hydra`).

@todo #3: Write more about PAB issues with emulator, packaging and Plutus
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can help with filling it in probably, the emulator part I mean.

Copy link
Contributor Author

@uhbif19 uhbif19 Feb 5, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool. You want give sources/summary for me to write on it or write text yourself?

Other tools are not applicable to our project.

1. quickehck-dynamic
2. SMV
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's SMV?

Copy link
Contributor Author

@uhbif19 uhbif19 Feb 5, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is very usable Haskell SMT interface. It provides both DSL for SMT constraints encoding and solving and some more complicated static analysis DSL examples on top of that.

Okay, it is named SBV, I pronunciation gets me once again :D

https://hackage.haskell.org/package/sbv

@uhbif19 uhbif19 marked this pull request as ready for review February 28, 2024 14:26
@uhbif19 uhbif19 removed the request for review from adamczykm February 28, 2024 14:26
@uhbif19 uhbif19 merged commit 5906b34 into master Feb 28, 2024
@uhbif19 uhbif19 deleted the uhbif19/initial-docs branch February 28, 2024 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants