⚡️ Demo application showcasing the implementation of Particle Network's BTC Connect product on SatoshiVM, a flagship EVM-compatible Bitcoin Layer-2. This demo onboards a user through a Bitcoin-native wallet (such as UniSat, OKX, or Bitget), assigns a smart account (on SatoshiVM), and executes both a gasless burn of BTC (on SatoshiVM) and a sample transaction on native Bitcoin.
Built using BTC Connect (by Particle Network), TypeScript
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 similar to the application covered within this repository, https://particle-btc-connect-demo.replit.app)
👉 Learn more about Particle Network: https://particle.network
git clone https://github.com/TABASCOatw/particle-satoshivm-demo.git
yarn install
OR
npm install
This project requires a number of keys from Particle Network to be defined in .env
. The following should be defined:
REACT_APP_APP_ID
, the ID of the corresponding application in your Particle Network dashboard.REACT_APP_PROJECT_ID
, the ID of the corresponding project in your Particle Network dashboard.REACT_APP_CLIENT_KEY
, the client key of the corresponding project in your Particle Network dashboard.
npm run dev
OR
yarn dev