Skip to content

AricRedemption/surge-wallet

Repository files navigation

Surge Wallet

About Surge

This is a multi-sig wallet on Bitcoin by using Rooch network L2 solution

Overview

Architecture: architecture

Operation workflow: Operation workflow

DEV Mode

1. Install

pnpm install

2. Start

pnpm dev

3. Build

pnpm build

Run in blocklet

1. Start blocklet server

cd ~/blocklet-server-data && blocklet server start

2. Create blocklet app

blocklet create --did=z2qaEyH81kUVDffYQrkdokmAFCeRVCFqNESsN
  • I create an app named surge-wallet in the project root path

3. Replace app dir

rm -rf ./surge-wallet/app && cp -r ./dist ./surge-wallet/app

4. run in dev mode

blocklet dev

5. run in product mode

pnpm bundle 

blocklet deploy .blocklet/bundle --app-id=zNKiFDb3y4HZT49xssBGCVp5BhXsxqcf3sGy