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
Collaborator
Part of https://www.notion.so/Use-MTM-price-based-on-pool-189a6b22d47280ff9373c89f40b378d1
adwait added 1 commit 2025-01-28 04:19:47 +00:00
adwait added 1 commit 2025-01-28 05:50:25 +00:00
adwait added 1 commit 2025-01-28 11:30:38 +00:00
adwait changed title from [WIP] Use USDC prices for meme generation to USDC prices for meme generation 2025-01-28 12:29:14 +00:00
adwait added 1 commit 2025-01-28 13:04:10 +00:00
adwait changed title from USDC prices for meme generation to Use MTM price based on pool 2025-01-28 13:07:15 +00:00
adwait changed title from Use MTM price based on pool to Use MTM price based on USDC 2025-01-28 13:07:29 +00:00
adwait added 1 commit 2025-01-28 13:48:20 +00:00
adwait added 1 commit 2025-01-28 13:51:27 +00:00
adwait changed title from Use MTM price based on USDC to Use MTM price based on USDC for meme generation 2025-01-28 13:57:38 +00:00
adwait added 1 commit 2025-01-28 14:26:48 +00:00
nabarun added 1 commit 2025-01-28 16:15:55 +00:00
adwait added 1 commit 2025-01-29 13:39:55 +00:00
Author
Collaborator

According to discussions, working on implementing a backend cache for storing the last 3 quotes in a 15 minute window

  • Tested running custom server side code in Next.js
  • IN PROGRESS: Implement custom server in sol meme gen app
    • Setting method to get latest quote in request instance, so that it can be accessed Next.js API handler
    • Method is not accessible in request instance (had a working implementation in deployed starter app):
⨯ TypeError: req.getLatestQuote is not a function
   at handler (webpack-internal:///(rsc)/./src/app/api/quotes/route.ts:10:29)
  • Debugging
According to discussions, working on implementing a backend cache for storing the last 3 quotes in a 15 minute window - Tested running custom server side code in Next.js - Followed approach from https://nextjs.org/docs/pages/building-your-application/configuring/custom-server - Verified that laconic deployer would be able to run custom server by deploying a starter application - IN PROGRESS: Implement custom server in sol meme gen app - Setting method to get latest quote in request instance, so that it can be accessed Next.js API handler - Method is not accessible in request instance (had a working implementation in deployed starter app): ``` ⨯ TypeError: req.getLatestQuote is not a function at handler (webpack-internal:///(rsc)/./src/app/api/quotes/route.ts:10:29) ``` - Debugging
adwait added 1 commit 2025-01-30 04:46:25 +00:00
adwait added 1 commit 2025-01-30 05:13:58 +00:00
adwait added 1 commit 2025-01-30 06:18:04 +00:00
adwait added 1 commit 2025-01-30 06:37:50 +00:00
adwait added 1 commit 2025-01-30 07:00:57 +00:00
adwait added 1 commit 2025-01-30 09:11:36 +00:00
adwait added 1 commit 2025-01-30 10:15:24 +00:00
adwait added 1 commit 2025-01-30 12:13:01 +00:00
adwait added 1 commit 2025-01-30 12:39:04 +00:00
adwait added 1 commit 2025-01-30 13:34:35 +00:00
adwait added 1 commit 2025-01-30 14:58:18 +00:00
nabarun merged commit 36f298ff96 into main 2025-01-30 15:03:09 +00:00
nabarun deleted branch ag-usd-price 2025-01-30 15:03:10 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: deep-stack/sol-mem-gen#7
No description provided.