Add function intended to deprecate cashMethods generateBurnOpReturn as part of transaction construction refactors
This diff does not yet implement the function
Differential D15100
[Cashtab] Add function to generate burn targetOutputs bytesofman on Jan 5 2024, 18:25. Authored by
Details
Add function intended to deprecate cashMethods generateBurnOpReturn as part of transaction construction refactors This diff does not yet implement the function npm test
Diff Detail
Event TimelineComment Actions why not use an explicit burn ? https://github.com/badger-cash/slp-self-mint-protocol/blob/master/token-type1-burn.md Comment Actions ..TIL For now, main idea is to deprecate the complicated tx building functions / tests in Cashtab and replace them with simpler ones that clearly maintain the same functionality. I would like to add explicit OP_RETURN script generators, like those in the badger fork of Cashtab, and lose the slp-mdm library -- then, why not explicit burn? But I think this should happen after the transaction functions are cleaned up. Comment Actions OK as a transition step but slp-mdm really is 328 lines of code including some code redundant with existing code in our repo. It can be removed easily by implementing our own set of functions. Also slp-mdm last version is 0.0.7 and it's already 3 years old, so unlikely to be maintained (even if it's simple enough that it should not require a lot of maintenance) |