Conversation
✅ No Address ChangesCompared This PR does not modify any addresses currently used by the SDK. While
Last checked: March 17, 2026 at 17:35:46 UTC |
f1c54c8 to
8c8c3d4
Compare
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.
Summary
@whetstone-research/doppler-sdk/solanaentry pointsrc/evm/, Solana code lives insrc/solana/, shared utilities insrc/core/src/solana/generated/— no separate npm package orfile:dependency requiredWhat's included
Solana SDK (
src/solana/)initializer/— instruction builders and account fetchers for the Initializer program (initialize config/launch, swap, migrate, abort, preview)migrators/cpmmMigrator/— instruction encoders and state fetchers for the CPMM Migrator programinstructions/— low-level instruction builders for the CPMM pool (add/remove liquidity, swap, fees, oracle, admin operations)client/— higher-level read clients for config, pool, oracle, and position accountsreact/— React hooks (usePool,useSwap,useOracle,usePosition,useLiquidity,useFees) and UI components (SwapCard,LiquidityPanel,PoolStats,PositionCard,ConnectWallet) with wallet and AMM providersCodama-generated codecs (
src/solana/generated/)cpmm,cpmmMigrator,initializer,predictionMigrator,trustedOraclescripts/idl/;scripts/codegen.tsregenerates from them viapnpm generate:codecscodegen.tspatchescpmm/types/index.tspost-generation to resolve a Codama naming collision (AddLiquidityArgs/CollectFeesArgsexported from both event and instruction-args files).gitattributesModule restructure
src/evm/— all existing EVM code moved here (no functional changes)src/core/— shared market-cap helpers extracted hereindex,evm/index,solana/index,solana/react/indexCI
verify-solana-codecs.yml— triggers on IDL/codegen path changes; regenerates codecs and fails if there is a diff, ensuringsrc/solana/generated/stays in synctest.yml— newSolana Testsjob runspnpm test:solanaon every PR;test-summarygate updated to require it