Skip to content

[Stacks 2.1] Support coinbase-pay-to-alt-recipient transactions #1340

@zone117x

Description

@zone117x

See stacks-network/stacks-core#3164 which introduced the new tx type.

The encoding for the new format is fairly straightforward. Here's another PR https://github.com/hirosystems/stacks-encoding-native-js/pull/5/files that accomplishes the same change for decoding these txs. It's in rust, but the serialization format is more clear in this PR / codebase. It also includes a test vector w/ a serialized coinbase-pay-to-alt-recipient tx to test against.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions