Skip to content
This repository has been archived by the owner on Nov 13, 2020. It is now read-only.

Local Mode #7

Merged
merged 6 commits into from
Mar 29, 2020
Merged

Local Mode #7

merged 6 commits into from
Mar 29, 2020

Conversation

tiero
Copy link
Contributor

@tiero tiero commented Mar 29, 2020

  • Decide custom data directory with TDEX_CLI_PATH environment variable. Now defaults to absolute position ~/.tdex instead of relative to the installation folder.

  • Add --local flag to swap command to export manually the SwapRequest message without the need of a connection with the provider.

  • Add swap accept <message>; Import manually a SwapRequest and sign a resulting SwapAccept message

  • Add swap complete <message>; Import a SwapAccept message and sign a resulting SwapComplete message

  • Add --push flag into swap complete command to print the hex-encoded extracted transaction.

To have a complete transaction to be broadcasted it miss logic to add fees, but this is out of scope. In normal flow, it's the duty of the daemon to add the fee. It can be integrated with liquid.taxi in the future too.

@tiero tiero merged commit 8ac5261 into master Mar 29, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant