Add Blitz wallet (#2353)

This commit is contained in:
ekzyis 2025-07-29 17:59:42 +02:00 committed by GitHub
parent 5f7d0ead1d
commit 6aeffa7aff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,16 @@
-- Without the commit, the migration fails when we try to insert the new row:
--
-- Error: P3006
--
-- Migration `20250729145821_blitz_wallet` failed to apply cleanly to the shadow database.
-- Error:
-- ERROR: unsafe use of new value "BLITZ" of enum type "WalletName"
-- HINT: New enum values must be committed before they can be used.
ALTER TYPE "WalletName" ADD VALUE 'BLITZ'; COMMIT;
INSERT INTO "WalletTemplate" (name, "sendProtocols", "recvProtocols")
VALUES (
'BLITZ',
ARRAY[]::"WalletSendProtocolName"[],
ARRAY['LN_ADDR']::"WalletRecvProtocolName"[]
);

View File

@ -1252,6 +1252,7 @@ enum WalletName {
NWC NWC
LN_ADDR LN_ADDR
CASH_APP CASH_APP
BLITZ
} }
model WalletTemplate { model WalletTemplate {

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

BIN
public/wallets/blitz.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

View File

@ -157,5 +157,11 @@
"displayName": "Cash App", "displayName": "Cash App",
"image": "/wallets/cashapp.webp", "image": "/wallets/cashapp.webp",
"url": "https://cash.app/" "url": "https://cash.app/"
},
{
"name": "BLITZ",
"displayName": "Blitz Wallet",
"image": "/wallets/blitz.png",
"url": "https://blitz-wallet.com/"
} }
] ]