Skip to content

LNSwap/lnstxbridge-dashboard

Repository files navigation

LN - STX Bridge Admin Dashboard

Deploy on Vercel

Deploy with Vercel

  • Host your own admin dashboard for your lnstxbridge instance.
  • You will need your backend URL and username/password from your provider client config.
providerUrl="http://<server IP>:9008" -> set as NEXT_PUBLIC_BACKEND_URL
[dashboard]  
username = "admin" -> Use these to login
password = "xxx" -> Use these to login

Development - Getting Started

First, run the development server:

npm run dev
# or
yarn dev

Open http://localhost:3000 with your browser to see the result.

Optimizations & Requirements

  • To avoid error: System limit for number of file watchers reached

echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p

  • if you're running dashboard on a VM, you probably want to set below in your ~/.bashrc replace IP:port with your own providerUrl

export NEXT_PUBLIC_BACKEND_URL="http://34.132.87.225:9008"

  • if you're running on testnet, set below env var so links resolve to correct explorers.

export NEXT_PUBLIC_NETWORK="testnet"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages