From 85c88b66bb4b2509c3f323ba61f5d5b4dbb0f986 Mon Sep 17 00:00:00 2001 From: b0xxer Date: Fri, 2 Feb 2024 08:42:48 -0600 Subject: [PATCH] Update docs/liquid/liquid-part3.md --- docs/liquid/liquid-part3.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/liquid/liquid-part3.md b/docs/liquid/liquid-part3.md index 6d9031e..64a575f 100644 --- a/docs/liquid/liquid-part3.md +++ b/docs/liquid/liquid-part3.md @@ -19,6 +19,14 @@ Liquid would make a great solution for this case. They could simple direct their ## Atomic Swaps +So our client has 1 `StackerNewsDemo-1` token in their wallet (which for our purposes is our pretend airline mile token) and he wants to exchange that for L-BTC. How do we do that? + +Obviously, we could build some type of webservice that had SQL databases and nodejs files that accept Asset A and then issued Asset B once received...however as we said our StackerNews crew is smart and therefore prefers to do *less hardwork* + +Luckily, due to the additional OPCODEs in Liquid, it supports atomic swaps between assets. In fact, Blockstream has a tool to simplify using it (obviously the steps we do here manually with the tool would be automated within the server / client in production). + + + ## Securities / Transfer Restricted / etc # Pegging Out