Skip to content

Example apps demonstrating the use of the Lombard SDK

Notifications You must be signed in to change notification settings

lombard-finance/sdk-demo

Repository files navigation

Lombard SDK Demo

This is a demo application showcasing how to implement the Lombard Staking SDK to enable Bitcoin staking functionality in your application.

Features

  • Bitcoin to LBTC staking flow implementation
  • Network fee authorization and signature handling
  • BTC deposit address generation and management
  • Deposit status tracking
  • Exchange rate and fee calculations

Getting Started

  1. Clone the repository
  2. Install dependencies:
npm install
# or
yarn install
  1. Run the development server:
npm run dev
# or
yarn dev

Project Structure

src/
├── modules/
│   ├── stake/           # Staking implementation
│   │   ├── components/  # Staking UI components
│   │   └── hooks/      # Custom hooks for SDK integration
│   ├── auth/           # Wallet connection
│   └── common/         # Shared components

SDK Integration

This demo implements the core staking flow from the Lombard SDK:

  1. Network Fee Authorization
  2. BTC Deposit Address Generation
  3. Deposit Management
  4. LBTC Minting

For detailed SDK documentation, please refer to the Lombard Staking SDK package and Lombard SDK V2 documentation.

About

Example apps demonstrating the use of the Lombard SDK

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages