Skip to content

PSBT setup #138

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

PSBT setup #138

wants to merge 2 commits into from

Conversation

AadityaKhurana
Copy link
Contributor

PSBT Implementation Setup

Overview

This PR establishes the initial setup for the PSBT (Partially Signed Bitcoin Transaction) implementation.

The psbt object is structured as a dictionary with the following format:

  • global: Contains the global map
  • input: A list of inputmaps
  • output: A list of outputmaps

the psbt object follows the Specification given in BIP 174

Current Functionality

  • Supports serialization (to bytes)
  • Supports parsing (from bytes)
  • Requires a provided globalmap, input, and output information

Future Enhancements

  • Serialization and parsing in hex format
  • Serialization and parsing in base64 (b64) format

Feedback

I would appreciate any feedback on:

  • The overall length of the PR
  • The level of detail needed in the documentation
  • Any other suggestions or improvements

This will help improve future PRs.

I intend to expand this PR until we can create, update, and sign a PSBT.

@karask
Copy link
Owner

karask commented Apr 1, 2025

@AadityaKhurana

I will not look at any PSBT implementations until the proposals have been submitted.

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.

2 participants