Skip to content

pseudozach/lnstxbridge

 
 

Repository files navigation

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 && npm rebuild
  • 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

integrate

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

use

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • JavaScript 47.0%
  • TypeScript 41.8%
  • HTML 5.8%
  • Clarity 4.2%
  • Dockerfile 0.4%
  • Python 0.3%
  • Other 0.5%