Commit Graph

34 Commits

Author SHA1 Message Date
Adw8
ddda589da9 Use backend cache for getting quotes during payment verification 2025-01-30 11:47:38 +05:30
Adw8
f712adfec2 Create class for quotes service 2025-01-30 10:43:52 +05:30
Adw8
c1b0ad6ec5 Add API for getting latest quote 2025-01-30 10:16:05 +05:30
Adw8
8ed2c29c44 Add custom server for storing quotes in cache 2025-01-29 19:09:48 +05:30
0944a9de68 Use USDC mint from env 2025-01-28 21:45:45 +05:30
Adw8
771656ae5d Simplify function to display price with decimal point 2025-01-28 19:56:41 +05:30
Adw8
5fd10ae15f Update comment 2025-01-28 19:21:17 +05:30
Adw8
5523939ff0 Display decimals in UI 2025-01-28 19:18:13 +05:30
Adw8
53bd18f031 Use bn.js to handle big numbers 2025-01-28 18:34:03 +05:30
Adw8
8b5dbb46fa Use bigint for handling token price 2025-01-28 17:00:30 +05:30
Adw8
36a140734a Fetch USDC price in MTM using jupiter API 2025-01-28 11:20:18 +05:30
Adw8
5d42d281a0 Use USDC prices in model map 2025-01-28 09:47:11 +05:30
fa6a88f297 Handle responsiveness in mobile browser (#6)
Part of https://www.notion.so/Add-disconnect-wallet-button-188a6b22d47280db91d5d180c7e151ae

Reviewed-on: #6
Co-authored-by: Nabarun <nabarun@deepstacksoft.com>
Co-committed-by: Nabarun <nabarun@deepstacksoft.com>
2025-01-27 14:08:02 +00:00
1582f8887d Add replay protection to meme generation API (#5)
Part of https://www.notion.so/Add-disconnect-wallet-button-188a6b22d47280db91d5d180c7e151ae
- Add sqlite DB for storing tx signatures
- Reject request if tx signature is already in DB

Co-authored-by: Adw8 <adwaitgharpure@gmail.com>
Reviewed-on: #5
Co-authored-by: adwait <adwait@noreply.git.vdb.to>
Co-committed-by: adwait <adwait@noreply.git.vdb.to>
2025-01-27 14:02:12 +00:00
6e6c10edc1 Add button to disconnect wallet (#4)
Part of https://www.notion.so/Add-disconnect-wallet-button-188a6b22d47280db91d5d180c7e151ae

Reviewed-on: #4
Co-authored-by: Nabarun <nabarun@deepstacksoft.com>
Co-committed-by: Nabarun <nabarun@deepstacksoft.com>
2025-01-27 11:43:40 +00:00
60728920f3 Verify payment on chain before generating meme (#3)
Part of https://www.notion.so/Implement-payment-gating-188a6b22d472806a9267c2bda72925cc

Co-authored-by: Adw8 <adwaitgharpure@gmail.com>
Reviewed-on: #3
Co-authored-by: adwait <adwait@noreply.git.vdb.to>
Co-committed-by: adwait <adwait@noreply.git.vdb.to>
2025-01-27 11:42:35 +00:00
5277b9d4ca Add readme with setup steps (#2)
Part of https://www.notion.so/Debug-and-fix-meme-generator-app-188a6b22d4728043ba2fd706d7c7def7

Reviewed-on: #2
Co-authored-by: Nabarun <nabarun@deepstacksoft.com>
Co-committed-by: Nabarun <nabarun@deepstacksoft.com>
2025-01-27 10:11:57 +00:00
76eb0a994c Add check for phantom wallet before throwing error (#1)
Part of https://www.notion.so/Debug-and-fix-meme-generator-app-188a6b22d4728043ba2fd706d7c7def7

- During meme generation, only solflare wallet was being checked for. This caused an error if the user was using phantom wallet
- Added a check for phantom wallet before throwing error

Co-authored-by: Adw8 <adwaitgharpure@gmail.com>
Reviewed-on: #1
Co-authored-by: adwait <adwait@noreply.git.vdb.to>
Co-committed-by: adwait <adwait@noreply.git.vdb.to>
2025-01-27 09:46:40 +00:00
zramsay
6c9c5a4063 phatom fix 2025-01-02 17:11:17 -05:00
zramsay
5e10e2ebc7 add phantom 2025-01-02 15:02:23 -05:00
zramsay
ab2016183e update prices 2024-12-21 07:45:10 -05:00
zramsay
b432d8bd3a copy fixes 2024-12-20 19:37:27 -05:00
zramsay
954a47688c build fixes 2024-12-20 18:24:44 -05:00
zramsay
ea82bbce75 stuff 2024-12-20 17:50:33 -05:00
zramsay
f521fe4087 constants 2024-12-20 16:25:01 -05:00
zramsay
2fafd17cdb sweet 2024-12-20 16:18:49 -05:00
zramsay
aeb240cfc5 bunch of stuff 2024-12-20 14:53:36 -05:00
zramsay
1a9869b0d9 nice 2024-12-20 11:53:42 -05:00
zramsay
a57ab292db working 2024-12-20 09:53:47 -05:00
zramsay
c4eb9fbd13 green 2024-12-20 08:23:57 -05:00
zramsay
ac358c4cb6 cool 2024-12-19 19:10:08 -05:00
zramsay
201a8510cc ok 2024-12-19 18:23:55 -05:00
zramsay
9a2857bffd wroking 2024-12-19 15:27:45 -05:00
zramsay
01d95feb48 init 2024-12-19 15:22:30 -05:00