mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-03-12 09:27:01 +00:00
WIP spark mint transaction
This commit is contained in:
parent
051bd7db48
commit
883a5e67e6
1 changed files with 12 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue