Install Nodes
Node Setup
LN-STX Bridge requires 3 nodes to function.
Bitcoin full node, unpruned and with tx-index enabled.
LND lightning node
Stacks blockchain node
Bitcoin
There are many ways to run a bitcoin node and even other implementations but this bridge uses the default reference implementation.
For security and verification purposes no download links are provided here. Instead it's recommended to visit the official website, preferably github repository and always verify that the software downloaded is the one signed by bitcoin-core maintainers by checking the signatures.
Lightning
LND is one of many lightning implementations. There are plans to swap LND in the future with c-lightning but currently since it provides built-in hold invoice
support it is the Lightning Network implementation that is being used in the bridge.
Visit LND github repository releases page and download the latest supported version (as of now, v0.12.0-beta)
Stacks
A full stacks node with websocket access is required for the bridge to function. In the future there may be other providers so this requirement is removed but as of now, stacks node is needed.
There's a quite straightforward way to jump-start it as detailed in this repository.
Once all nodes are started, it can take some hours until Bitcoin node synchronizes and reaches the chain tip. Stacks node can take multiple days. Be patient and regularly check with the below commands until all nodes are synchronized.
Last updated