Add Solana USDC example to AppKit Pay asset configuration #580
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.
Description
This PR adds a Solana USDC configuration example to the AppKit Pay asset configuration documentation across all framework variants. The changes complement the existing Base network examples by showing developers how to configure Solana tokens.
Changes made:
/appkit/javascript/payments/pay-with-exchange.mdx(JavaScript-specific)/snippets/appkit/shared/appkit-pay-react.mdx(shared by React, Vue, Next.js)solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdpand token addressEPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1vwith 6 decimalsThe additions follow the existing code example pattern and provide developers with a clear reference for configuring Solana tokens in their AppKit Pay implementations.
Context: This was requested to support the recently released AppKit Pay Solana integration, as Solana is already listed as a supported network in the main documentation.
Tests
pnpm run spell) - passed with 0 issuesEPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1vis correct for USDC on Solana mainnetsolana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdpis the correct Solana mainnet identifierKey Review Points
Direct link to the deployed preview files
Requested by: [email protected]
Link to Devin run: https://app.devin.ai/sessions/257d66eef5ad4057a9ec50b69dec6abe