ElementsProject / ElementsProject/libwally-core

Make the `WALLY_TX_ISSUANCE_FLAG` more usable?

Open
#263 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
307
Forks
159
Avg merge
2h 56m
Merged PRs (30d)
4

Description

I was trying to serialize to hex a transaction that includes an issuance in one input using `wally_tx_to_hex`, and I couldn't see the issuance data in the output when I read it with elements-cli `decoderawtransaction`. I noticed there was a `WALLY_TX_ISSUANCE_FLAG` that needed be added to the `utxo_index` in the input that contains an issuance, and now I can see the issuance details.
Is there any plan to make it more usable, for example using an explicit argument in function like `wally_tx_add_elements_raw_input`? Or even better could it be implicit from the presence of a nonce or en entropy in the input?
No matter what I suggest to document it briefly in the man, I can propose something if needed.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.