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

Pallas TxBuilder #250

Closed
wants to merge 3 commits into from
Closed

Pallas TxBuilder #250

wants to merge 3 commits into from

Conversation

MicroProofs
Copy link
Member

Very early beginnings of a TxBuilder using pallas

MicroProofs and others added 2 commits April 13, 2023 21:03
Co-authored-by: Lucas Rosa <x@rvcas.dev>
* introduce some fields for TxBuilder
* have some methods actually mutate builder
* construct a tx in finalize

Co-authored-by: Lucas Rosa <x@rvcas.dev>

impl TxBuilder {
/// Create a new builder
pub fn new() -> Self {
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is going to require the protocol parameters as an input. It will be useful later for calculating things like the script_data_hash and also minUtxo values for outputs. I recently went through this process for NEWM in creating a txbuilder for newm-chain.

https://github.com/projectNEWM/newm-server/pull/85/files#diff-cff46a056cb55c8fbdfd8d37062e0f2591957ad52dbd3c0e8067c6cf4e1a95f0

Copy link
Member

Choose a reason for hiding this comment

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

Ah that's excellent feedback thanks, please feel free to make more comments like this. I'd like this thing to get a bunch of eyes on it throughout the process so we can have something as ergonomic as possible.

valid_until
valid_after
mint_assets (WIP)
@rvcas rvcas mentioned this pull request Jul 14, 2023
@rvcas rvcas closed this Aug 1, 2023
@rvcas rvcas deleted the tx-building branch August 1, 2023 22:30
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