Skip to content

Conversation

@jadonamite
Copy link

Description

This PR adds Module 29: Bitcoin Logic by @jadonamite. It covers the creation of Partially Signed Bitcoin Transactions (PSBTs) within a Stacks application context.

Content Overview

  • Dependencies: Utilizing bitcoinjs-lib for construction and @stacks/connect for signing.
  • Construction: Adding Inputs (UTXOs) and Outputs (Payment + Change).
  • Interaction: Triggering the wallet popup for user approval.

Checklist

  • Code demonstrates Segwit witnessUtxo handling.
  • Fee calculation logic included.
  • Formatting follows the repository's style guide.

Related Issues

Closes # (If applicable)

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