Repository navigation
feat: deploy Meridian vault and mUSDC SAC to testnet - #83
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Type of change
Summary
Deploys the MeridianVault Soroban contract and an mUSDC SAC to the Stellar testnet, wires their IDs into the codebase, and replaces the stubbed positions endpoint with a real on-chain read.
Deployed contracts:
CAHOYJV2D4IGNZUQ5NP3HTXQL2LQ47YTP3TR56MHR5CJEWHGMEUYRIL3CBK5RI4BCA7TLSD2S5Q5TH2LUQAT55GF34OBTWPFUKWZ5O6YXSQDAWOJWhat changed:
packages/shared/src/constants.ts— vault and musdc contract IDs added for testnetapi/v1/tx/_shared.ts— vault ID hardcoded as fallback (Vercel works without env var)api/v1/positions/[publicKey].ts— replaced stub with real on-chain read using Soroban view simulation (get_position, get_total_shares, get_total_assets)apps/api/src/routes/positions.ts— same logic for local Fastify dev serverProtocol context
Testing
pnpm typecheck)Closes #65