Skip to content

Add the joint-tx crate - #231

Open
robknight wants to merge 1 commit into
jointtx-sdk-rekeyfrom
jointtx-library
Open

Add the joint-tx crate#231
robknight wants to merge 1 commit into
jointtx-sdk-rekeyfrom
jointtx-library

Conversation

@robknight

Copy link
Copy Markdown
Collaborator

Adds a library for structuring and agreeing to joint transactions. This is built around the JointTransaction type, which manages the participants, the objects in question, the shape of the proposed transaction, and so on. It ensures that the proposed transaction always ends with each object having exactly one owner. It automates the preparation of a transaction in which statements from different parties must be gathered together.


Stack created with GitHub Stacks CLIGive Feedback 💬

Represent a shared transaction as participants, input custody, a finalizer, and labeled events. Validate event feasibility and final custody during construction.

Derive the commitment-only plan, chain positions, final transaction, statement dependency graph, and proving schedule.

Add serializable transfer offers and acceptances with receive-side validation, plus end-to-end swap and borrow scenarios.
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.

1 participant