Skip to content

Wallet v2 #2169

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 216 commits into from
Jul 15, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
216 commits
Select commit Hold shift + click to select a range
daea59d
Migrate vault entries to new schema (#2092)
ekzyis May 18, 2025
c2c2f3a
Wallet schema v2 (#2146)
ekzyis May 18, 2025
7b02fa3
Add wallet-v2 TODOs
ekzyis May 18, 2025
76b1bb8
Update checkWallet
ekzyis May 18, 2025
3ac1c8f
Wallet list
ekzyis May 18, 2025
07287d2
Delete almost all wallet v1 code
ekzyis May 21, 2025
b0af780
Define protocol display name in JSON
ekzyis May 26, 2025
80192bc
Show form per protocol
ekzyis May 26, 2025
79638b3
Increase max-height of image in form
ekzyis May 27, 2025
0e4cb9b
Add JSdoc for protocols, form validation
ekzyis May 27, 2025
adec6ea
Use wallet cards again
ekzyis May 27, 2025
4e01e5d
Refactor hooks in wallet provider
ekzyis May 27, 2025
e844933
Fix PasswordInput not used
ekzyis May 27, 2025
d891324
Read encrypted wallets
ekzyis May 27, 2025
9aa62fc
Decrypt wallets
ekzyis May 28, 2025
28c14e8
Rename protocolJson to protocol
ekzyis May 28, 2025
2c514b1
Fix form not updated with decrypted API key
ekzyis May 30, 2025
37db5af
Fix wallet template forms
ekzyis May 30, 2025
34c0a72
Fix optional shown as hint
ekzyis May 30, 2025
62a26ea
Rename to mapUserWalletResolveTypes
ekzyis May 30, 2025
286dc76
Save LNbits send and recv
ekzyis May 31, 2025
79d9c36
Move definitions to lib/wallets.json and lib/protocols
ekzyis May 31, 2025
46eb392
Fix ProtocolWallet.updated_at not updated by trigger
ekzyis Jun 1, 2025
43cc45e
Move wallet fragments into wallets/client/fragments/
ekzyis Jun 1, 2025
961cfc3
Move wallet resolvers into wallets/server/resolvers
ekzyis Jun 1, 2025
8774cb4
Fix missing authorization check on wallet update
ekzyis Jun 1, 2025
c50f282
Run all shared code in generic wallet update function
ekzyis Jun 1, 2025
0ef3037
Fix 'encrypt' flag not set for blink send currency
ekzyis Jun 1, 2025
e38eb08
Add mutations for all protocols
ekzyis Jun 1, 2025
7fa4ddd
Fix macaroon validation
ekzyis Jun 1, 2025
00c453e
Fix CLN socket value not set
ekzyis Jun 2, 2025
893868d
Add server-side schema validation
ekzyis Jun 2, 2025
da94220
Fix JSDoc typedef for protocols
ekzyis Jun 2, 2025
e7e5c32
Don't put JSDoc into separate file
ekzyis Jun 2, 2025
c174084
Create test invoices on save
ekzyis Jun 2, 2025
815c806
Also move type resolvers into wallets/server/resolvers
ekzyis Jun 3, 2025
9849519
Fix unconfigured protocols of UserWallet not found
ekzyis Jun 3, 2025
24ce29b
Fix Blink API key in wallet seed
ekzyis Jun 3, 2025
6827627
Test send payment on save (except LNC)
ekzyis Jun 3, 2025
67626d1
Check if window.webln is defined on save
ekzyis Jun 4, 2025
cc6ea34
Create new wallets from templates
ekzyis Jun 4, 2025
f532d27
Separate protocols in wallets/lib into individual files
ekzyis Jun 4, 2025
85786da
Use justify-content-start for protocol tabs
ekzyis Jun 4, 2025
28867c2
Add LNC to client protocols
ekzyis Jun 5, 2025
99b6aae
Only return wallets from useWallets
ekzyis Jun 5, 2025
f6d60b8
Query decrypted wallets
ekzyis Jun 5, 2025
e1887aa
Payments with new wallets
ekzyis Jun 5, 2025
278789f
More wallet logos
ekzyis Jun 5, 2025
91ee7c6
Fix TypeError in useIndexedDB
ekzyis Jun 5, 2025
22ff902
Add protocol attach docs
ekzyis Jun 6, 2025
ed118a7
Fix undefined useWalletRecvPrompt import
ekzyis Jun 6, 2025
c6a03fc
Remove outdated TODOs
ekzyis Jun 6, 2025
5973cff
First successful zap to new wallets
ekzyis Jun 6, 2025
656b235
Fix walletLogger imports
ekzyis Jun 6, 2025
9dd7a5e
Fix sequences
ekzyis Jun 6, 2025
dda50ae
Rename ProtocolWallet columns
ekzyis Jun 6, 2025
102a7dc
Remove more outdated TODOs
ekzyis Jun 7, 2025
966a41a
Update wallet indicator
ekzyis Jun 7, 2025
cd08f42
Fix page reset on route change
ekzyis Jun 7, 2025
f829812
Refactor __typename checks into functions
ekzyis Jun 7, 2025
ad90e38
Refactor protocol selection into own hook
ekzyis Jun 7, 2025
4f58857
Add button to detach protocol
ekzyis Jun 7, 2025
af67354
Refetch wallet on save and detach
ekzyis Jun 8, 2025
e7bbf6d
Refetch wallets on change
ekzyis Jun 8, 2025
ba3f7ff
Always show all templates
ekzyis Jun 8, 2025
3245e7d
Refactor WalletLink component
ekzyis Jun 8, 2025
2f4b89d
Also put wallet into forms context
ekzyis Jun 8, 2025
11c275e
Remove outdated TODOs
ekzyis Jun 10, 2025
1692835
Use useMemo in wallets hooks
ekzyis Jun 11, 2025
37d12e3
Passphrase modals
ekzyis Jun 8, 2025
473bbc3
Fix protocol missing as callback dependency
ekzyis Jun 11, 2025
aa9298f
Encrypt wallets with new key on passphrase export
ekzyis Jun 11, 2025
23de417
Update 'unlock wallets' text
ekzyis Jun 11, 2025
6820d62
Rename wallet mutation hooks
ekzyis Jun 11, 2025
9c59013
Remove 'removeWallet' mutation
ekzyis Jun 11, 2025
5f3dd62
Passphrase reset
ekzyis Jun 11, 2025
b5f0182
Use 110px as minimum width for bip39 words
ekzyis Jun 12, 2025
29802ea
Also disable passphrase export on save
ekzyis Jun 12, 2025
b46122a
Wallet settings
ekzyis Jun 12, 2025
20368c8
Fix wallet receive prompt
ekzyis Jun 12, 2025
7fa10d3
Remove unused parameters from postgres function
ekzyis Jun 15, 2025
874ceb2
Rename UserWallet to Wallet, ProtocolWallet to WalletProtocol
ekzyis Jun 15, 2025
039a196
Use danger variant for button to show passphrase
ekzyis Jun 17, 2025
226d7d7
Fix inconsistent imports and exports
ekzyis Jun 17, 2025
034561e
Remove outdated TODOs
ekzyis Jun 18, 2025
d5b7c30
wallet logs
ekzyis Jun 16, 2025
7f0c1c3
Remove outdated comment
ekzyis Jun 19, 2025
e70d6cd
Make sure wallets are used in priority order
ekzyis Jun 19, 2025
866bdfb
Separate wallets from templates in reducer
ekzyis Jun 19, 2025
a3fdd05
Fix missing useCallback dependencies
ekzyis Jun 19, 2025
6ac76b2
Refactor with useWalletLogger hook
ekzyis Jun 19, 2025
907ef33
Move enabled to WalletProtocol
ekzyis Jun 19, 2025
92d01ba
Add checkbox to enable/disable protocol
ekzyis Jun 19, 2025
2f70f8d
Fix migration with prod db dump
ekzyis Jun 20, 2025
1830e10
Parse Coinos relay URLs
ekzyis Jun 20, 2025
2c71c8f
Skip network tests if only enabled changed
ekzyis Jun 20, 2025
0ea1e5a
Allow IndexedDB calls without session
ekzyis Jun 21, 2025
8960136
Add code to migrate old CryptoKey
ekzyis Jun 21, 2025
a8c17b4
Fix ghost import error
ekzyis Jun 22, 2025
001830a
Skip wallets queries if not logged in
ekzyis Jun 22, 2025
e83fcf8
Split CUSTOM wallet into NWC and LN_ADDR
ekzyis Jun 22, 2025
e998205
Migrate local wallets
ekzyis Jun 22, 2025
7137043
Link to /wallets/:id/receive if send not supported
ekzyis Jun 22, 2025
0c77d78
Hide separator if there are no configured wallets
ekzyis Jun 23, 2025
bf9b6bd
Save LNC
ekzyis Jun 23, 2025
a0f0d27
Add one-liner to attach LNC
ekzyis Jun 23, 2025
a122da0
Update wallet priorities via DnD
ekzyis Jun 23, 2025
6b32f9c
Wallet logs are part of protocol resolvers
ekzyis Jun 23, 2025
9c25b23
Fix logging to deleted protocol
ekzyis Jun 23, 2025
1b63e86
Fix trying to fetch logs for template
ekzyis Jun 23, 2025
d48fe3c
Fix embedded flag for wallets logs not set
ekzyis Jun 23, 2025
071b835
Remove TODO
ekzyis Jun 23, 2025
1359b57
Decrease max-height for embedded wallet logs on big screens
ekzyis Jun 23, 2025
fbe25de
Fix missing refetch on wallet priority update
ekzyis Jun 23, 2025
604d5a5
Set priorities of all wallets in one tx
ekzyis Jun 23, 2025
5984edd
Fix nested state update
ekzyis Jun 23, 2025
446c9eb
Add DragIcon
ekzyis Jun 23, 2025
1332dd5
DnD mobile support and refactor
ekzyis Jun 24, 2025
c4bf774
Add CancelButton to wallet settings
ekzyis Jun 24, 2025
fbb8bcc
Remount form if path changes
ekzyis Jun 24, 2025
b39ac58
Support string and object for wallet.image JSON
ekzyis Jun 25, 2025
31cf25f
Append domain to lightning address inputs
ekzyis Jun 25, 2025
27bcd54
Remove outdated TODOs
ekzyis Jun 25, 2025
2347a30
Add template IDs to wallet JSON
ekzyis Jun 25, 2025
8506d2d
Fix missing callback dependency
ekzyis Jun 25, 2025
6861548
Implement lightning address save in receive prompt
ekzyis Jun 25, 2025
fcb12b9
Update TODOs
ekzyis Jun 25, 2025
a88cd48
Fix missing check for enabled
ekzyis Jun 25, 2025
3576486
Pay QR codes with WebLN as anon
ekzyis Jun 25, 2025
2f7636b
Add logo for NWC
ekzyis Jun 26, 2025
5d4c420
Fix trying to save logs for template
ekzyis Jun 26, 2025
3d1b5ea
Add template logs
ekzyis Jun 26, 2025
c0a4a7e
Fix inconsistent margin
ekzyis Jun 26, 2025
f0df0bc
Always throw on missing key
ekzyis Jun 26, 2025
106f919
Remove misleading comment
ekzyis Jun 26, 2025
3ebea68
Check for existing wallets on local wallet migration
ekzyis Jun 26, 2025
b22dc0e
Fix local wallet migration causing duplicates
ekzyis Jun 26, 2025
4bad913
Fix protocol reattached on detach due to migration
ekzyis Jun 26, 2025
720b87c
Fix form not centered
ekzyis Jun 27, 2025
01cde28
Fix ZEUS lightning address domain
ekzyis Jun 27, 2025
4712447
Add placeholder, help, hints etc. to wallet form inputs
ekzyis Jun 27, 2025
03a51aa
Fix wallet badges not updated
ekzyis Jun 27, 2025
7b63af2
Remove unused declared variables
ekzyis Jun 27, 2025
5bb168d
Rename to ATTACH_PAGE
ekzyis Jun 27, 2025
4361e73
Fix 500 error if no amount was given to LNURLp endpoint
ekzyis Jun 27, 2025
4b0ea77
Tag log messages with wallet name
ekzyis Jun 27, 2025
67ae66d
Only skip network tests if we're disabling the wallet
ekzyis Jun 27, 2025
2af359a
Rename var to networkTests
ekzyis Jun 27, 2025
b00d996
Continue to store key hash in IndexedDB
ekzyis Jun 27, 2025
092ce5a
Rethink wallet state management
ekzyis Jun 27, 2025
ae2d924
Add empty line
ekzyis Jun 27, 2025
0c5a024
Save new key hash during wallet reset
ekzyis Jun 27, 2025
90006ce
Only receive protocol upserts require networkTests param
ekzyis Jun 27, 2025
c327881
Compare key hashes on server on each save
ekzyis Jun 27, 2025
aedef20
Delete old code
ekzyis Jun 27, 2025
bb33918
Fix card shows attach instead of configure
ekzyis Jun 28, 2025
1288db5
Fix empty wallets created during migration
ekzyis Jun 28, 2025
f53ddaa
Update reset passphrase text
ekzyis Jun 28, 2025
15f626e
Wrap passphrase reset in try/catch
ekzyis Jun 28, 2025
420e0cf
Fix migrate called multiple times
ekzyis Jun 28, 2025
9dd7ae6
Update key hash on migration if not set
ekzyis Jun 28, 2025
8228478
Fetch local wallets in migrate
ekzyis Jun 28, 2025
7f2ead7
Fix missing await on setKey
ekzyis Jun 28, 2025
9ba7de6
Let first device set key hash
ekzyis Jun 28, 2025
225b44e
Fix indicator not shown if wallets locked
ekzyis Jun 28, 2025
5be811a
Check if IndexedDB is available
ekzyis Jun 28, 2025
380532f
Fix inconsistent WebLN error message
ekzyis Jun 28, 2025
bcd62a4
Disable WebLN if not available
ekzyis Jun 28, 2025
a8c75ca
Remove outdated TODO
ekzyis Jun 30, 2025
b99a003
Cursor-based pagination for wallet logs
ekzyis Jun 30, 2025
f93dfe6
Fix log message x-overflow
ekzyis Jul 1, 2025
fd58eb1
Add context to wallet logs
ekzyis Jul 1, 2025
44c5867
Wrap errors are warnings in logs
ekzyis Jul 1, 2025
ee8f103
Rename wallet v2 migrations
ekzyis Jul 2, 2025
21b1160
Update wallet status during logging
ekzyis Jul 2, 2025
c5054f4
Fix wallet logs loading state
ekzyis Jul 2, 2025
d98107f
Add wallet search
ekzyis Jul 2, 2025
926c706
Add Alby Go wallet
ekzyis Jul 2, 2025
b69bada
Revert "Add Alby Go wallet"
ekzyis Jul 9, 2025
7e427fb
Fix wallet logs sent by client don't update protocol status
ekzyis Jul 10, 2025
0e6acf6
Fix mutation name
ekzyis Jul 10, 2025
eda3b82
put drag icon on opposite corner
huumn Jul 10, 2025
d368218
Add wallets/README.md
ekzyis Jul 10, 2025
abd085f
Fix inconsistent case in wallets/README.md
ekzyis Jul 10, 2025
448ef6b
Fix autoprefixer warning about mixed support
ekzyis Jul 11, 2025
8aa0389
fix effect of wallet indicators on logo
huumn Jul 11, 2025
2d2ca6a
Fix deleting wallet template logs
ekzyis Jul 11, 2025
6c1c594
Use name as primary key of WalletTemplate
ekzyis Jul 11, 2025
ef4733c
Fix wallet_clear_vault trigger not mentioned in README
ekzyis Jul 11, 2025
2ac82f0
Fix wallet receive prompt
ekzyis Jul 11, 2025
ce20f3f
Use findUnique since name is now primary key
ekzyis Jul 11, 2025
bafd459
Merge Alby wallets into one
ekzyis Jul 11, 2025
747fdf7
Remove unused name parameter from WalletsForm component
ekzyis Jul 11, 2025
6052325
Fix number check to decide if wallet or template
ekzyis Jul 11, 2025
b42b639
Update wallet encryption on click, not as effect
ekzyis Jul 11, 2025
3ba9614
add cashu.me and lightning address logos
huumn Jul 12, 2025
7c8dac0
add images
huumn Jul 14, 2025
b4aedeb
Use recommended typeof to check if IDB available
ekzyis Jul 14, 2025
919b1a6
Also check if IDB available on delete
ekzyis Jul 14, 2025
a8823d8
Use constraint triggers
ekzyis Jul 14, 2025
72deafc
Add indices on columns used for joins
ekzyis Jul 14, 2025
58b8eef
Fix inconsistent CLEAR OR REPLACE TRIGGER
ekzyis Jul 14, 2025
6bae781
Attach wallet_check_support trigger to WalletProtocol table
ekzyis Jul 14, 2025
7c71a00
Update wallets/README.md
ekzyis Jul 14, 2025
1f40463
Remove debugging code
ekzyis Jul 14, 2025
8be0b30
Refactor reducer: replace page with status
ekzyis Jul 14, 2025
74c6e36
Show 'wallets unavailable' if device does not support IndexedDB
ekzyis Jul 14, 2025
7b7af2d
Remove duplicate ELSIF condition
ekzyis Jul 14, 2025
1104a3c
Fix hasSendWallet
ekzyis Jul 14, 2025
6658a20
Add Cash App wallet
ekzyis Jul 14, 2025
5fa4c88
fix changes loglevel enum
huumn Jul 15, 2025
74719e0
Fix key init race condition in strict mode if no key exists yet
ekzyis Jul 15, 2025
735983e
Formatting
ekzyis Jul 15, 2025
9141050
Fix key init race condition via transactions in readwrite mode
ekzyis Jul 15, 2025
1404f03
Replace Promise.withResolvers with regular promises
ekzyis Jul 15, 2025
f2e580b
replace generic spinner with our usual
huumn Jul 15, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ docker-compose.*.yml
*.sql
!/prisma/migrations/*/*.sql
!/docker/db/seed.sql
!/docker/db/wallet-seed.sql

# nostr wallet connect
scripts/nwc-keys.json
Expand Down
26 changes: 15 additions & 11 deletions api/paidAction/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ async function performP2PAction (actionType, args, incomingContext) {
await assertBelowMaxPendingInvoices(incomingContext)

const description = await paidActions[actionType].describe(args, incomingContext)
const { invoice, wrappedInvoice, wallet, maxFee } = await createWrappedInvoice(userId, {
const { invoice, wrappedInvoice, protocol, maxFee } = await createWrappedInvoice(userId, {
msats: cost,
feePercent: sybilFeePercent,
description,
Expand All @@ -239,7 +239,7 @@ async function performP2PAction (actionType, args, incomingContext) {
invoiceArgs: {
bolt11: invoice,
wrappedBolt11: wrappedInvoice,
wallet,
protocol,
maxFee
}
}
Expand Down Expand Up @@ -269,7 +269,7 @@ async function performDirectAction (actionType, args, incomingContext) {

const description = actionDescription ?? await paidActions[actionType].describe(args, incomingContext)

for await (const { invoice, logger, wallet } of createUserInvoice(userId, {
for await (const { invoice, logger, protocol } of createUserInvoice(userId, {
msats: cost,
description,
expiry: INVOICE_EXPIRE_SECS
Expand All @@ -293,7 +293,7 @@ async function performDirectAction (actionType, args, incomingContext) {
bolt11: invoice,
msats: cost,
hash,
walletId: wallet.id,
protocolId: protocol.id,
receiverId: userId
}
}),
Expand Down Expand Up @@ -346,22 +346,26 @@ export async function retryPaidAction (actionType, args, incomingContext) {
invoiceId: failedInvoice.id
},
include: {
wallet: true
protocol: {
include: {
wallet: true
}
}
}
})

if (invoiceForward) {
// this is a wrapped invoice, we need to retry it with receiver fallbacks
try {
const { userId } = invoiceForward.wallet
const { userId } = invoiceForward.protocol.wallet
// this will return an invoice from the first receiver wallet that didn't fail yet and throw if none is available
const { invoice: bolt11, wrappedInvoice: wrappedBolt11, wallet, maxFee } = await createWrappedInvoice(userId, {
const { invoice: bolt11, wrappedInvoice: wrappedBolt11, protocol, maxFee } = await createWrappedInvoice(userId, {
msats: failedInvoice.msatsRequested,
feePercent: await action.getSybilFeePercent?.(actionArgs, retryContext),
description: await action.describe?.(actionArgs, retryContext),
expiry: INVOICE_EXPIRE_SECS
}, retryContext)
invoiceArgs = { bolt11, wrappedBolt11, wallet, maxFee }
invoiceArgs = { bolt11, wrappedBolt11, protocol, maxFee }
} catch (err) {
console.log('failed to retry wrapped invoice, falling back to SN:', err)
}
Expand Down Expand Up @@ -429,7 +433,7 @@ async function createSNInvoice (actionType, args, context) {

async function createDbInvoice (actionType, args, context) {
const { me, models, tx, cost, optimistic, actionId, invoiceArgs, paymentAttempt, predecessorId } = context
const { bolt11, wrappedBolt11, preimage, wallet, maxFee } = invoiceArgs
const { bolt11, wrappedBolt11, preimage, protocol, maxFee } = invoiceArgs

const db = tx ?? models

Expand Down Expand Up @@ -468,9 +472,9 @@ async function createDbInvoice (actionType, args, context) {
invoice: {
create: invoiceData
},
wallet: {
protocol: {
connect: {
id: wallet.id
id: protocol.id
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions api/paidAction/zap.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ export async function getInvoiceablePeer ({ id, sats, hasSendWallet }, { models,
return null
}

const wallets = await getInvoiceableWallets(item.userId, { models })
const protocols = await getInvoiceableWallets(item.userId, { models })

// request peer invoice if they have an attached wallet and have not forwarded the item
// and the receiver doesn't want to receive credits
if (wallets.length > 0 &&
if (protocols.length > 0 &&
item.itemForwards.length === 0 &&
sats >= item.user.receiveCreditsBelowSats) {
return item.userId
Expand Down
8 changes: 4 additions & 4 deletions api/payingAction/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import { parsePaymentRequest, payViaPaymentRequest } from 'ln-service'
// paying actions are completely distinct from paid actions
// and there's only one paying action: send
// ... still we want the api to at least be similar
export default async function performPayingAction ({ bolt11, maxFee, walletId }, { me, models, lnd }) {
export default async function performPayingAction ({ bolt11, maxFee, protocolId }, { me, models, lnd }) {
try {
console.group('performPayingAction', `${bolt11.slice(0, 10)}...`, maxFee, walletId)
console.group('performPayingAction', `${bolt11.slice(0, 10)}...`, maxFee, protocolId)

if (!me) {
throw new Error('You must be logged in to perform this action')
Expand All @@ -34,8 +34,8 @@ export default async function performPayingAction ({ bolt11, maxFee, walletId },
msatsPaying: toPositiveBigInt(decoded.mtokens),
msatsFeePaying: satsToMsats(maxFee),
userId: me.id,
walletId,
autoWithdraw: !!walletId
protocolId,
autoWithdraw: !!protocolId
}
})
}, { isolationLevel: Prisma.TransactionIsolationLevel.ReadCommitted })
Expand Down
8 changes: 4 additions & 4 deletions api/resolvers/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import user from './user'
import message from './message'
import item from './item'
import wallet from './wallet'
import walletV1 from './wallet'
import walletV2 from '@/wallets/server/resolvers'
import lnurl from './lnurl'
import notifications from './notifications'
import invite from './invite'
Expand All @@ -19,7 +20,6 @@ import chainFee from './chainFee'
import { GraphQLScalarType, Kind } from 'graphql'
import { createIntScalar } from 'graphql-scalar'
import paidAction from './paidAction'
import vault from './vault'

const date = new GraphQLScalarType({
name: 'Date',
Expand Down Expand Up @@ -54,6 +54,6 @@ const limit = createIntScalar({
maximum: 1000
})

export default [user, item, message, wallet, lnurl, notifications, invite, sub,
export default [user, item, message, walletV1, walletV2, lnurl, notifications, invite, sub,
upload, search, growth, rewards, referrals, price, admin, blockHeight, chainFee,
{ JSONObject }, { Date: date }, { Limit: limit }, paidAction, vault]
{ JSONObject }, { Date: date }, { Limit: limit }, paidAction]
53 changes: 0 additions & 53 deletions api/resolvers/vault.js

This file was deleted.

Loading