Artiume / lnstxbridge

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LN - STX Bridge

Submarine Swaps between STX (and USDA) on Stacks <-> Bitcoin on 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

use

About

License:GNU Affero General Public License v3.0


Languages

Language:JavaScript 57.3%Language:TypeScript 41.5%Language:Dockerfile 0.6%Language:Python 0.4%Language:Shell 0.2%