Skip to content

Latest commit

 

History

History
27 lines (22 loc) · 1.3 KB

README.md

File metadata and controls

27 lines (22 loc) · 1.3 KB

LN - STX Bridge with Provider Swap Network

Submarine/Atomic Swaps between assets on Stacks <-> Bitcoin (onchain and Lightning Network)

install

  • clone the repo, install requirements and compile
    git clone https://github.com/pseudozach/lnstxbridge.git
    cd lnstxbridge && npm i && npm run compile

  • start btc & lnd
    npm run docker:regtest

  • start stacks
    npm run stacks:mocknet

  • fund a regtest account and deploy latest Clarity contract under contracts/
    npm run stacks:fund && npm run stacks:deploy

  • copy boltz.conf to ~/.lnstx/boltz.conf and modify as needed

  • start the app
    npm run start

  • clone lnstxbridge-client repo and start it with aggregatorUrl parameter set to this bridge IP:port.

use