Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/synonymdev/lsp-ui
Blocktank LSP admin dashboard
https://github.com/synonymdev/lsp-ui
bitcoin blocktank lightning-network
Last synced: about 2 months ago
JSON representation
Blocktank LSP admin dashboard
- Host: GitHub
- URL: https://github.com/synonymdev/lsp-ui
- Owner: synonymdev
- License: mit
- Created: 2021-08-05T18:04:55.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-11-04T15:31:18.000Z (2 months ago)
- Last Synced: 2024-11-04T16:31:36.658Z (2 months ago)
- Topics: bitcoin, blocktank, lightning-network
- Language: TypeScript
- Homepage:
- Size: 5.16 MB
- Stars: 8
- Watchers: 2
- Forks: 10
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# LSP UI
Recommended resolution for your embedded widget:
- width - `480px`
- height - `800px````html
```
## Set environment variables
The following environment variables are required to run the app:
```bash
REACT_APP_MAINNET=true // or false
```Set this environment variable if you want to test in regtest:
```bash
REACT_APP_API_URL="https://api.stag.blocktank.to/blocktank/api/v2/"
```## Available Scripts
⚠️ Switch to the Node.js version defined in `.node-version`. You can visit [.node-version File Usage](https://github.com/shadowspawn/node-version-usage) and use one of these methods to change the node version you need.
In the project directory, you can run:
### `yarn start`
Runs the app in the development mode.\
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.The page will reload if you make edits.\
You will also see any lint errors in the console.### `yarn test`
Launches the test runner in the interactive watch mode.
### `yarn build`
Builds the app for production to the `build` folder.\
It correctly bundles React in production mode and optimizes the build for the best performance.The build is minified and the filenames include the hashes.\
Your app is ready to be deployed!### `yarn build:mainnet` and `yarn build:testnet`
Builds the app for production to the `build` folder.\
It correctly bundles React in production mode and optimizes the build for the best performance.\
It also sets the `REACT_APP_MAINNET` environment variable to `true` or `false` respectively.The build is minified and the filenames include the hashes.\
Your app is ready to be deployed!