Goal: serialize a JSON transaction object into a binary transaction file
Steps to generate JSON transaction file
goal clerk send -a 1000 -f $FROM -t $TO -o $BINARY_TX -d $DATA goal clerk inspect -f $BINARY_TX >> $JSON_TX cat $JSON_TX # will display the JSON results
What methods are provided to serialize the $JSON_TX into a $BINARY_TX?
For testing purposes, one may desire to manually modify transaction data, serialize the JSON and broadcast the results:
goal clerk rawsend -f $BINARY_TX -d $DATA
Guidance within any of the SDKs is appreciated. I’m just not quite sure where to look or what to search for.