4⃣
Deploy Frontend

Frontend App

Now that your bridge backend is ready, it's time to deploy a frontend and make it available to users.
You can host your frontend in the same server as your backend, although this requires you to open another port, manage SSL certificates and possibly a web proxy like nginx.
Current recommendation is to deploy to any react capable host. Simplest way is to use the 1-click deploy to vercel button found on the github repository and below.
​​
​
​
If you want to run the app on a VM, here are the instructions:
1
// clone the repo and install requirements
2
git clone https://github.com/pseudozach/lnstxbridge-frontend.git
3
cd lnstxbridge-frontend && npm i
4
​
5
// make required changes as per your environment to .env file
6
​
7
// start the app
8
npm run start
Copied!

Dashboard

In order to help swap providers, help make it easier to run the bridge and increase visibility into the day to day operation there's now an admin dashboard that shows signer funds, swaps and balance status.
This dashboard is also open source and deployable with 1-click.
​​
​
​
Bridge Admin Dashboard

πŸŽ‰ You are live in production!

Congratulations if you've made it this far. You are part of a global liquidity network that allows peers to exchange value with each other in a completely trustless and permissionless way.
Enjoy earning fees on your bridge!
​Get in touch for any issues, feedback or suggestions regarding any of the lnstxbridge software components or this guide.
Last modified 3mo ago