Skip to content

Conversation

@OttoAllmendinger
Copy link
Contributor

@OttoAllmendinger OttoAllmendinger commented Jan 7, 2026

Added the ability to create transaction outputs using addresses instead of
raw scripts. This provides a more convenient API for users who don't want
to deal with script creation.

  • Added add_output_with_address method in Rust
  • Extended TypeScript addOutput method with overloads for:
    • Direct script/value pairs
    • Address/value pairs
    • options object

BTC-0

Add a new overload to the `addOutput` method that accepts addresses
directly instead of requiring pre-created output scripts. The method now
supports:

1. Direct script + value parameters
2. Address string + value parameters
3. Options object with either script or address

Issue: BTC-0

Co-authored-by: llm-git <llm-git@ttll.de>
@OttoAllmendinger OttoAllmendinger force-pushed the BTC-0.add-output-with-address branch from 023a3d7 to f7d697d Compare January 7, 2026 14:30
@OttoAllmendinger OttoAllmendinger marked this pull request as ready for review January 7, 2026 16:21
@OttoAllmendinger OttoAllmendinger requested a review from a team as a code owner January 7, 2026 16:21
@lcovar lcovar merged commit 0c79108 into master Jan 7, 2026
1 check passed
@lcovar lcovar deleted the BTC-0.add-output-with-address branch January 7, 2026 17:52
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