Use MTM price based on USDC for meme generation #7

Merged
nabarun merged 20 commits from ag-usd-price into main 2025-01-30 15:03:09 +00:00

20 Commits

Author SHA1 Message Date
Adwait Gharpure
f19610c19f Return JSON in quotes API 2025-01-30 20:20:42 +05:30
Adw8
2f7fbac703 Improve error handling in flux API 2025-01-30 19:04:26 +05:30
Adw8
41470fc895 Update method to convert base units to decimal 2025-01-30 18:08:55 +05:30
Adw8
2806fd344a Update variable names in quotes service 2025-01-30 17:42:55 +05:30
Adw8
b886aca067 Remove quotes service injection in server 2025-01-30 15:45:17 +05:30
Adw8
2e735c51dd Use big.js for handling decimals 2025-01-30 14:41:29 +05:30
Adw8
cc64e6a035 Display message in UI before reloading 2025-01-30 12:30:36 +05:30
Adw8
de0b4d42c2 Update variable 2025-01-30 12:07:43 +05:30
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