LNSwap Documentation
  • 👋Welcome
  • 🚀Widget Quick Start
  • 📘Swap Provider's Guide
    • 1️⃣Prepare Operating System
    • 2️⃣Install Nodes
    • 3️⃣Deploy Client
    • 4️⃣Deploy Dashboard
  • ⌨️Bridge Runner's Guide
    • 1️⃣Prepare Server
    • 2️⃣Install Nodes
    • 3️⃣Deploy Backend
    • 4️⃣Deploy Frontend
  • Links
    • Discord
    • Twitter
    • Github
Powered by GitBook
On this page
  • Frontend App
  • Dashboard
  • 🎉 You are live in production!
  1. Bridge Runner's Guide

Deploy Frontend

PreviousDeploy Backend

Last updated 3 years ago

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 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!

for any issues, feedback or suggestions regarding any of the lnstxbridge software components or this guide.

⌨️
4️⃣
Get in touch
admin dashboard
Bridge Admin Dashboard
Deploy with Vercel
Deploy with Vercel