Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ LNURL_SERVER_ENCRYPTION_KEY="a8861cc3e5b3caf5573fbba2da2851a4e608a836eef10074be3
# These mint + unit pairs cannot be added as an account. Set the unit to null to block the entire mint.
# LNVoltz + USD: This mint has a bug that does not allow USD ecash to be melted. The current version is "Nutshell/0.18.1"
VITE_CASHU_MINT_BLOCKLIST='[{"mintUrl":"https://mint.lnvoltz.com","unit":"usd"}]'
VITE_GIFT_CARDS='[{"url":"https://blockandbean.agi.cash","name":"Block and Bean","currency":"BTC","isDiscoverable":true},{"url":"https://pubkey.agi.cash","name":"Pubkey","currency":"BTC","isDiscoverable":true},{"url":"https://maple.agi.cash","name":"Maple","currency":"BTC","isDiscoverable":true},{"url":"https://compass.agi.cash","name":"Compass Coffee","currency":"BTC","isDiscoverable":true},{"url":"https://pinkowl.agi.cash","name":"Pink Owl Coffee","currency":"BTC","isDiscoverable":true},{"url":"https://shack.agi.cash","name":"The Shack","currency":"BTC","isDiscoverable":true}]'
VITE_GIFT_CARDS='[{"url":"https://blockandbean.agi.cash","name":"Block and Bean","currency":"BTC","isDiscoverable":true,"validPaymentDestinations":{"descriptions":["Block and Bean"],"nodePubkeys":[]}},{"url":"https://pubkey.agi.cash","name":"Pubkey","currency":"BTC","isDiscoverable":true,"validPaymentDestinations":{"descriptions":["Pubkey"],"nodePubkeys":[]}},{"url":"https://maple.agi.cash","name":"Maple","currency":"BTC","isDiscoverable":true,"validPaymentDestinations":{"descriptions":["Maple"],"nodePubkeys":[]}},{"url":"https://compass.agi.cash","name":"Compass Coffee","currency":"BTC","isDiscoverable":true,"validPaymentDestinations":{"descriptions":["Compass Coffee"],"nodePubkeys":[]}},{"url":"https://pinkowl.agi.cash","name":"Pink Owl Coffee","currency":"BTC","isDiscoverable":true,"validPaymentDestinations":{"descriptions":["Pink Owl Coffee"],"nodePubkeys":[]}},{"url":"https://shack.agi.cash","name":"The Shack","currency":"BTC","isDiscoverable":true,"validPaymentDestinations":{"descriptions":["The Shack"],"nodePubkeys":[]}}]'

VITE_BREEZ_API_KEY='MIIBaTCCARugAwIBAgIHPxIwQzGEUzAFBgMrZXAwEDEOMAwGA1UEAxMFQnJlZXowHhcNMjYwNDA0MDg0MzIyWhcNMzYwNDAxMDg0MzIyWjApMRAwDgYDVQQKEwdBZ2ljYXNoMRUwEwYDVQQDEwxKb3NpcCBCb2pjaWMwKjAFBgMrZXADIQDQg/XL3yA8HKIgyimHU/Qbpxy0tvzris1fDUtEs6ldd6N7MHkwDgYDVR0PAQH/BAQDAgWgMAwGA1UdEwEB/wQCMAAwHQYDVR0OBBYEFNo5o+5ea0sNMlW/75VgGJCv2AcJMB8GA1UdIwQYMBaAFN6q1pJW843ndJIW/Ey2ILJrKJhrMBkGA1UdEQQSMBCBDmpvc2lwQGFnaS5jYXNoMAUGAytlcANBAK+gHYR+F8ssgm4LqWaom2FRIM9YjhCM6S1jh8Srh1APCf1TVGmPu4cRMmGWquTTe30dHObKfNvxI0SPFNhiSQA='

Expand Down
6 changes: 6 additions & 0 deletions app/features/gift-cards/gift-card-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ export const GiftCardConfigSchema = z.array(
currency: z.enum(['USD', 'BTC']),
isDiscoverable: z.boolean(),
addCardDisclaimer: z.string().optional(),
validPaymentDestinations: z
.object({
descriptions: z.array(z.string()),
nodePubkeys: z.array(z.string().toLowerCase()),
})
.optional(),
}),
);

Expand Down
2 changes: 2 additions & 0 deletions app/features/scan/classify-input.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ describe('classifyInput', () => {
expiryUnixMs: 1496314718000,
network: 'bitcoin',
description: '1 cup coffee',
payeeNodeKey:
'03e7156ae33b0a208d0744199163177e909e80176e55d97a2f221ede0f934dd9ad',
paymentHash:
'0001020304050607080900010203040506070809000102030405060708090102',
},
Expand Down
Loading
Loading