Skip to content

fix steps #66

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

Merged
merged 1 commit into from
Feb 4, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 12 additions & 6 deletions decoding/transaction-signing.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -98,16 +98,22 @@ Below is the complete transaction data. You can refer back to this whenever you

## Steps We'll Follow

1. Create Basic Transaction Structure
0. Create Base Transaction

2. Prepare BIP143 Signing Data
1. Adding Inputs

3. Create Preimage
2. Adding Outputs

4. Generate Signature
3. Generate ScriptCode

5. Build Witness Data
4. Calculate Transaction Digest

6. Assemble Final Transaction
5. Calculate Preimage and Sighash

6. Generate and Encode the Signature

7. Add Witness Field

8. Assemble Final Transaction

Each step will be explained in detail in the following sections, with code examples and tests using this exact transaction data.