createSparkSpendTransaction just needs wrapping at this point
The CSparkMintMeta is a sticking point at the moment due to the need to serialize a spark::Coin to FFI, which apparently isn't possible using the same method as the other toFFI/fromFFI functions we use for other structs (can't get nonce Scalar k from K or other available properties), however it appears there are serialization/deserialization methods available for a Coin, so I need to use those (at least insofar as for CSparkMintMeta's toFFI).
Then we need to wrap spark::CoverSetData and CAmount (maybe).
createSparkSpendTransaction
just needs wrapping at this pointThe
CSparkMintMeta
is a sticking point at the moment due to the need to serialize aspark::Coin
to FFI, which apparently isn't possible using the same method as the othertoFFI
/fromFFI
functions we use for other structs (can't get nonce Scalark
fromK
or other available properties), however it appears there are serialization/deserialization methods available for aCoin
, so I need to use those (at least insofar as forCSparkMintMeta
'stoFFI
).Then we need to wrap
spark::CoverSetData
andCAmount
(maybe).