Files
breez-sdk-liquid/packages/wasm/examples/web-vite/README.md
2025-03-31 18:18:53 +02:00

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