-
This app enables functionality as described in stacksgov/grants-program#172 and stacksgov/grants-program#204
-
Running on https://lnswap.org
- 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
- API is available at http://localhost:9002, e.g. curl http://localhost:9002/getpairs
refer to API docs - Deploy frontend (available at https://github.com/pseudozach/lnstxbridge-frontend)