WIP spark mint transaction

This commit is contained in:
julian 2023-12-07 10:56:45 -06:00 committed by sneurlax
parent 56e11400a2
commit 095bfc2ff3

View file

@ -318,6 +318,18 @@ mixin SparkInterface on Bip39HDWallet, ElectrumXInterface {
// first then we generate spark related data. And we sign like regular
// transactions at the end.
List<int> serialContext = [];
final mintRecipients = LibSpark.createSparkMintRecipients(
outputs: txData.utxos!
.map((e) => (
sparkAddress: e.address!,
value: e.value,
memo: "Stackwallet spark mint"
))
.toList(),
serialContext: Uint8List.fromList(serialContext),
);
throw UnimplementedError();
}