Skip to content

Latest commit

 

History

History
34 lines (28 loc) · 1.09 KB

File metadata and controls

34 lines (28 loc) · 1.09 KB

VIA Bridge UI

A simple React application that demonstrates how to bridge BTC from Bitcoin to the VIA network using OP_RETURN deposit transactions with the sats-connect API and Xverse wallet.

This project was bootstrapped with Create React App.

Overview

This application allows users to:

  • Connect to Xverse wallet
  • Send a small amount of Bitcoin to the VIA Bridge address
  • Include an EVM address as OP_RETURN data for receiving funds on L2 (VIA network)
  • Receive the change amount back to the wallet

Prerequisites

Setup

  1. Clone the repository
  2. Install dependencies:
npm install
  1. Run the application
npm start
  1. Build for Production
npm run build

This builds the app for production to the build folder, optimized for best performance.