mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-03-21 22:58:49 +00:00
WIP spark mint transaction
This commit is contained in:
parent
56e11400a2
commit
095bfc2ff3
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
|
// first then we generate spark related data. And we sign like regular
|
||||||
// transactions at the end.
|
// 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();
|
throw UnimplementedError();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue