A web application that demonstrates how to create and receive BOLT12 offers using the Breez SDK.
Before running this application, you'll need:
-
Clone the repository:
git clone https://github.com/dangeross/dhd-2025-web-receive-bolt12.git cd dhd-2025-web-receive-bolt12 -
Install dependencies:
npm install
-
Copy the example environment file and fill in your values:
cp example.env .env
-
Edit the
.envfile with your Breez API key and wallet mnemonic:VITE_BREEZ_API_KEY=your_breez_api_key_here VITE_MNEMONIC="your twelve word mnemonic phrase here separated by spaces"
Start the development server:
npm run devThe application will be available at http://localhost:3000.