Add Blitz wallet (#2353)
This commit is contained in:
parent
5f7d0ead1d
commit
6aeffa7aff
16
prisma/migrations/20250729145821_blitz_wallet/migration.sql
Normal file
16
prisma/migrations/20250729145821_blitz_wallet/migration.sql
Normal 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"[]
|
||||||
|
);
|
@ -1252,6 +1252,7 @@ enum WalletName {
|
|||||||
NWC
|
NWC
|
||||||
LN_ADDR
|
LN_ADDR
|
||||||
CASH_APP
|
CASH_APP
|
||||||
|
BLITZ
|
||||||
}
|
}
|
||||||
|
|
||||||
model WalletTemplate {
|
model WalletTemplate {
|
||||||
|
BIN
public/wallets/blitz-dark.png
Normal file
BIN
public/wallets/blitz-dark.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 61 KiB |
BIN
public/wallets/blitz.png
Normal file
BIN
public/wallets/blitz.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 61 KiB |
@ -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/"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user