You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -70,6 +70,9 @@ To run Elements for L-BTC swaps, see the [Elements setup guide](./docs/setup_ele
70
70
71
71
To run LWK for L-BTC swaps, see the [LWK setup guide](./docs/setup_lwk.md).
72
72
73
+
> **Important**
74
+
> Liquid mainnet L-BTC swaps require a backend that follows the post-[ELIP 203](https://raw.githubusercontent.com/ElementsProject/ELIPs/main/elip-0203.mediawiki) chain tip. When using Elements RPC, run Elements 23.3.1 or newer; Elements 23.3.3 is recommended.
75
+
73
76
> **Note**
74
77
> Most of the benefits of PeerSwap come from using L-BTC. Swaps using L-BTC are more private, faster, and avoid the mainchain blockchain during high fee environments that can make swaps uneconomical.
Copy file name to clipboardExpand all lines: docs/setup_elementsd.md
+14-2Lines changed: 14 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ If you would rather just download the binary instead, skip to the next section.
17
17
18
18
Download the `elementsd` binary release [here](https://github.com/ElementsProject/elements/releases).
19
19
> [!IMPORTANT]
20
-
> The minimum required version for peerswap is now updated to Elements 23.2.5. Please ensure you are using this version or later to maintain compatibility and functionality. You can find the release details here:[Elements 23.2.5](https://github.com/ElementsProject/elements/releases/tag/elements-23.2.5).
20
+
> Liquid mainnet L-BTC swaps require Elements 23.3.1 or newer. Elements 23.3.3 is the recommended stable release. The [ELIP 203](https://raw.githubusercontent.com/ElementsProject/ELIPs/main/elip-0203.mediawiki) Liquid mainnet hard fork is active, and older `elementsd` versions cannot follow the post-fork chain. You can find current binaries on the[Elements releases](https://github.com/ElementsProject/elements/releases) page.
For Liquid mainnet, confirm that your node follows the post-fork chain tip:
35
+
36
+
`elements-cli -chain=liquidv1 getblockchaininfo`
37
+
38
+
Check that `blocks` is close to `headers` and that `verificationprogress` shows the node is synced. If `blocks` stops advancing on Liquid mainnet, upgrade `elementsd` before using L-BTC swaps.
39
+
40
+
> **Note**
41
+
> [ELIP 201](https://raw.githubusercontent.com/ElementsProject/ELIPs/main/elip-0201.mediawiki) is not the Liquid hard fork that requires the `elementsd` upgrade. The consensus-affecting hard fork is ELIP 203.
42
+
30
43
31
44
## Configuring
32
45
@@ -83,4 +96,3 @@ To create a new Liquid receiving address:
83
96
To send L-BTC to a Liquid address:
84
97
85
98
`elements-cli -rpcwallet=peerswap sendtoaddress [address] [amount in decimal form, e.g. 0.1 for 0.10000000 L-BTC]`
Copy file name to clipboardExpand all lines: docs/setup_lwk.md
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,9 @@ To set up `lwk` for PeerSwap, follow the steps here.
5
5
lwk is currently under development and changes are being made.
6
6
**peerswap has been tested only with [cli_0.5.1](https://github.com/Blockstream/lwk/releases/tag/cli_0.5.1)**.
7
7
8
+
> [!IMPORTANT]
9
+
> Liquid mainnet L-BTC swaps require the LWK/Electrum backend to follow the post-[ELIP 203](https://raw.githubusercontent.com/ElementsProject/ELIPs/main/elip-0203.mediawiki) chain tip. If you run your own backend, make sure it is backed by an Elements node that supports the active Liquid mainnet hard fork.
10
+
8
11
## wallet
9
12
peerswap assumes a wallet with blinding-key set in singlesig to lwk.
10
13
@@ -31,7 +34,7 @@ lwk_cli server start
31
34
```
32
35
33
36
## electrum
34
-
peerswap uses [esplora-electrs](https://github.com/Blockstream/electrs) to communicate with the luqiud chain.
37
+
peerswap uses [esplora-electrs](https://github.com/Blockstream/electrs) to communicate with the Liquid chain.
35
38
By default, peerswap connects to `blockstream.info:995` used by lwk, so no configuration is needed.
36
39
37
40
If you want to use your own chain, follow the instructions in [esplora-electrs](https://github.com/Blockstream/electrs) to start Electrum JSON-RPC server.
0 commit comments