Skip to content

sync: Rise TypeScript v0.4.69 - #75

Open
jchen1 wants to merge 1 commit into
masterfrom
sync/rise-ts-v0.4.69
Open

sync: Rise TypeScript v0.4.69#75
jchen1 wants to merge 1 commit into
masterfrom
sync/rise-ts-v0.4.69

Conversation

@jchen1

@jchen1 jchen1 commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Generated by .github/scripts/sync_rise.py.

Source

  • Phoenix commit: 68ec7e66b25a869e95ba56ac5bca31fbdef2209d

  • Mode: automatic

  • Synced paths:

  • rise/ts -> ts

  • rise/README.md -> README.md

  • rise/instructions.json -> instructions.json

  • rise/programs -> programs

  • rise/test-fixtures -> test-fixtures

Changelog Draft

This draft was also appended to package changelog file(s) in this PR so it can be manually edited before merge:

  • ts/CHANGELOG.md

Summary

  • Added buildFlameAtomicDepositFlow and the underlying buildFlameDepositToPhoenixIx / deriveFlameDepositToPhoenixAddresses builders, enabling a single-transaction, sponsor-cranked Flame deposit (permission grant + DepositToPhoenix) for wallets with no SOL.
  • Added resolvePhoenixBuilderAddresses plus BETA_USDC_MINT_ADDRESS and EMBER_STATE_ADDRESS exports so builder calls resolve the correct per-environment USDC mint and Ember state instead of silently defaulting to mainnet addresses on beta.
  • Added market stats endpoints V1MarketsClient.getLatestMarketStats(symbol) and getLatestMarketsStats(), with LatestMarketStatsResponseSchema / LatestMarketsStatsResponseSchema (bigint timestamp_ms).
  • Added DEPOSIT_PERMISSION permission constant for use with the new deposit-permission flow.
  • Package bumped 0.4.66 -> 0.4.69.

Breaking Changes

  • None identified in the synced diff.

Consumer Notes

  • Use buildFlameAtomicDepositFlow for a gasless/sponsored deposit path: the user signs the deposit permission, and the sponsor feePayer fronts/cranks the Flame DepositToPhoenix instruction (rent is refunded on close). Only traderSubaccountIndex: 0 is supported for this flow.
  • If you construct PhoenixInstructionClient addresses manually for a beta environment, switch to resolvePhoenixBuilderAddresses to pick up the correct beta USDC mint and Ember state rather than assuming mainnet defaults.
  • New getLatestMarketStats / getLatestMarketsStats responses return timestamp_ms as bigint, consistent with other big-integer fields in the SDK.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant