mirror of
https://github.com/aljazceru/breez-sdk-liquid.git
synced 2025-12-18 14:34:24 +01:00
26 lines
438 B
Markdown
26 lines
438 B
Markdown
# Breez SDK Nodeless - Wasm Vite Example
|
|
|
|
## Prerequisites
|
|
Copy the `example.env` file to `.env` and set the VITE_BREEZ_API_KEY and VITE_MNEMONIC environment variables.
|
|
|
|
## Build
|
|
If you are running from a local Wasm package, build the Wasm package first in the [Wasm package](../../) directory.
|
|
```bash
|
|
cd ..
|
|
make build
|
|
```
|
|
|
|
Install the dependencies
|
|
```bash
|
|
yarn
|
|
```
|
|
|
|
Run vite build
|
|
```bash
|
|
yarn build
|
|
```
|
|
|
|
## Run
|
|
```bash
|
|
yarn preview
|
|
``` |