diff --git a/prisma/migrations/20250729145821_blitz_wallet/migration.sql b/prisma/migrations/20250729145821_blitz_wallet/migration.sql new file mode 100644 index 00000000..a6305f1c --- /dev/null +++ b/prisma/migrations/20250729145821_blitz_wallet/migration.sql @@ -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"[] +); diff --git a/prisma/schema.prisma b/prisma/schema.prisma index 3dc625b2..cd30c8c3 100644 --- a/prisma/schema.prisma +++ b/prisma/schema.prisma @@ -1252,6 +1252,7 @@ enum WalletName { NWC LN_ADDR CASH_APP + BLITZ } model WalletTemplate { diff --git a/public/wallets/blitz-dark.png b/public/wallets/blitz-dark.png new file mode 100644 index 00000000..73d2aa26 Binary files /dev/null and b/public/wallets/blitz-dark.png differ diff --git a/public/wallets/blitz.png b/public/wallets/blitz.png new file mode 100644 index 00000000..73d2aa26 Binary files /dev/null and b/public/wallets/blitz.png differ diff --git a/wallets/lib/wallets.json b/wallets/lib/wallets.json index 03061d45..a57369e4 100644 --- a/wallets/lib/wallets.json +++ b/wallets/lib/wallets.json @@ -157,5 +157,11 @@ "displayName": "Cash App", "image": "/wallets/cashapp.webp", "url": "https://cash.app/" + }, + { + "name": "BLITZ", + "displayName": "Blitz Wallet", + "image": "/wallets/blitz.png", + "url": "https://blitz-wallet.com/" } ]