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:

// clone the repo and install requirements
git clone https://github.com/pseudozach/lnstxbridge-frontend.git
cd lnstxbridge-frontend && npm i

// make required changes as per your environment to .env file

// start the app
npm run start

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.

🎉 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 updated