Skip to content

feat(ramps): migrate onramp/offramp examples to Dynamic JS SDK#50

Closed
avneesh0612 wants to merge 3 commits into
feat/yield-js-sdkfrom
feat/ramps-js-sdk
Closed

feat(ramps): migrate onramp/offramp examples to Dynamic JS SDK#50
avneesh0612 wants to merge 3 commits into
feat/yield-js-sdkfrom
feat/ramps-js-sdk

Conversation

@avneesh0612
Copy link
Copy Markdown
Contributor

Summary

  • Converts nextjs-iron-ramp from React SDK to JS SDK (@dynamic-labs-sdk/client ^0.24.1 + @dynamic-labs-sdk/evm)
  • Upgrades nextjs-moneygram-ramp from JS SDK v0.12.1 to v0.24.1 with standard theme
  • Applies standard visual theme: Roboto font, #4779FF palette, custom DynamicButton
  • Replaces DynamicContextProvider with JS SDK custom context

Note: Stacked on yield PR — base will change to main once prior PRs merge.

Test plan

  • Verify auth flow in iron and moneygram apps
  • Verify ramp operations (Iron onramp/offramp, MoneyGram cash pickup) still work
  • Confirm standard theme applied consistently

🤖 Generated with Claude Code

avneesh0612 and others added 3 commits May 4, 2026 21:46
- Converts nextjs-iron-ramp from React SDK to JS SDK 0.24.1 with EVM extension, WalletContext, custom DynamicButton, and standard Roboto/light theme
- Upgrades nextjs-moneygram-ramp from JS SDK 0.12.1 to 0.24.1 using simpler addEvmExtension/addSolanaExtension pattern, adds standard theme, header, footer, and custom DynamicButton with multi-chain support

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
…S SDK

- Converts nextjs-polymarket-demo from React SDK to @dynamic-labs-sdk/client + @dynamic-labs-sdk/evm
- Converts nextjs-kalshi-demo from React SDK to @dynamic-labs-sdk/client + @dynamic-labs-sdk/solana
- Removes DynamicContextProvider, DynamicUserProfile, wagmi, WagmiProvider, DynamicWagmiConnector
- Adds custom DynamicButton with Google OAuth, email OTP, and wallet connect
- Applies standard light theme (Roboto font, #4779FF palette, white header, footer)
- Uses createWalletClientForWalletAccount for EVM trading; signTransaction for Solana
- Updates lifi-provider to use JS SDK wallet accounts instead of React SDK hooks

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
@avneesh0612
Copy link
Copy Markdown
Contributor Author

Closing in favour of #52 which has the clean ramps-only changes.

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