Utilize cardano-cli with marlowe-cli to create and submit transaction
SenecalJF opened this issue · comments
Jean-François Senécal commented
Describe the feature you'd like
I would like to have an example of how to build a transaction with cardano-cli transaction build after creating the datum & redeemer with marlowe-cli contract.
Additional context / screenshots
This is the conversation I had with Brian W Bush on ask-marlowe : https://discord.com/channels/826816523368005654/936295815926927390/998628705469485148
1. Watch https://github.com/input-output-hk/marlowe-cardano/issues/186 to learn of progress on Babbage compatibility and tag it with 👍 to indicate your interest and having this prioritized.
2. Tomasz Rybarczyk is working on a branch that brings Babbage to key Marlowe components: see https://github.com/input-output-hk/marlowe-cardano/issues/186#issuecomment-1186816334.
3. Although it's somewhat tedious, it should be possible to use the low-level marlowe-cli commands like marlowe-cli contract and marlowe-cli role to create the script, datums, and redeemers for Marlowe transactions. Those can be bundled into a transaction using version 1.35.x of cardano-cli, which is compatible with Babbage. (This is how we ran Marlowe on chain last year before we had higher level support in marlowe-cli.) Please feel free to submit a github ticket requesting a detailed tutorial on how to do this: https://github.com/input-output-hk/marlowe-cardano/issues.
Thanks for your patience. 🙏
Jean-François Senécal commented
https://gist.github.com/bwbush/a49a093db2137deb3b0791876cc0bc43
Here is the answer of @bwbush on how to make the above request.