Contract implementation cli #8
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Example Run 1
nostr-tool - https://github.com/0xtrr/nostr-tool
Prepare:
Maker init
Check
https://liquid.network/testnet/tx/71bca4d843e5851aa94106b49f9f28b7c69a754f5b5d8eb7d674aa36abae9890
Maker Fund
Check
https://liquid.network/testnet/tx/cb282465c64ccfc3acbab8bd79080bef34b2b0e5f49595444e623eeee780a26f
Taker fund
Check
https://liquid.network/testnet/tx/0d7affc8d601a4698d0f3e06ac5d63f281be9fa725781aaaf554243866bf8c47
Taker termination early
Check
https://liquid.network/testnet/tx/5fac0a0b098c4d64bc6d3d7b622ef0dc93c1beae0d84ae89b0527081355f5f2e
Maker termination collateral
Check
https://liquid.network/testnet/tx/0f27bb50de1366865c78b5667145831f3cb5c07ecfea806b9b1f948989fda4b7
Maker termination settlement
Check
https://liquid.network/testnet/tx/b98a8548ffe9494a296f01cda896c52e8e9f8a5a4cd89d009097ec3a746a7284
Example Run 2
Prepare
./simplicity-dex helpers mint-tokens --reissue-asset-utxo e110c17d165e0a2bb9f6931dbfe9d90075e7330a2471b9f3e246265d196f9e6f:0 --fee-utxo 1ba06a4308b5c2015887c637267bebeb1359f32547ee4f7b242127cb2aecc747:1 --asset-name "testtt"Maker init
Maker fund
Taker fund
Maker settlement
Taker settlement