Skip to content

TABASCOatw/particle-btc-connect-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Particle Network BTC Connect (Secondary) Demo

⚡️ Demo application showcasing the implementation of Particle Network's BTC Connect SDK, enabling the utilization of an EVM-based ERC-4337 smart account alongside a Bitcoin native wallet through the same interface (UniSat, OKX, Xverse). BTC Connect leverages signatures generated by Bitcoin wallets to authenticate transactions within smart accounts, therefore enabling a new level of unified interaction between Bitcoin and various Bitcoin Layer-2's.

Built using BTC Connect (by Particle Network), TypeScript

₿ BTC Connect

BTC Connect takes advantage of ERC-4337 alongside (Bitcoin) Layer-2 EVM-compatible blockchains to leverage a Smart Account, Paymaster, Bundler natively within Bitcoin wallets (connected to through a Bitcoin-specific modal also provided by BTC Connect). As its core, BTC Connect enables existing BTC wallets to control smart accounts on Layer-2s.

👉 Try the demo: https://btc-connect-demo.particle.network (or the alternative learning-oriented demo covered within this repository, https://particle-btc-connect-demo.replit.app)

👉 Learn more about Particle Network: https://particle.network

🛠️ Quickstart

Clone this repository

git clone https://github.com/TABASCOatw/particle-btc-connect-demo.git

Install dependencies

yarn install

OR

npm install

Set environment variables

This project requires a number of keys from Particle Network to be defined in .env. The following should be defined:

Start the project

npm run dev

OR

yarn dev