- This frontend app displays data from an lnstxbridge or lnstxbridge-client instance.
- Allows manual rebalancing of bridge funds via OKCoin API.
- 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
First, run the development server:
npm run dev
# or
yarn dev
Open http://localhost:3000 with your browser to see the result.
- 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"