Open
Conversation
Add Citrea as a new EVM blockchain to the services toolbox including buy and sell flows for cBTC, JUSD, and ctUSD. Register Citrea in EVM chain detection, balance PDF support, and transaction signing.
max-tech-bot
pushed a commit
to max-tech-bot/landing-page
that referenced
this pull request
Feb 26, 2026
- Rename cBTC_citrea_*.jpg to cbtc_*.jpg - Rename jusd_citrea_*.jpg to jusd_*.jpg - Align naming with asset convention (no blockchain suffix) - Related to DFXswiss/services#972
max-tech-bot
pushed a commit
to max-tech-bot/landing-page
that referenced
this pull request
Feb 26, 2026
- Rename juice_citrea_*.jpg to juice_*.jpg - Align with asset naming convention - Related to DFXswiss/services#972
|
Missing JUICE asset - see comment for details |
davidleomay
reviewed
Feb 26, 2026
Comment on lines
62
to
72
| // Supported EVM blockchains for balance PDF (must match API's SUPPORTED_BLOCKCHAINS) | ||
| const SUPPORTED_PDF_BLOCKCHAINS: Blockchain[] = [ | ||
| Blockchain.ETHEREUM, | ||
| Blockchain.BINANCE_SMART_CHAIN, | ||
| Blockchain.POLYGON, | ||
| Blockchain.ARBITRUM, | ||
| Blockchain.OPTIMISM, | ||
| Blockchain.BASE, | ||
| Blockchain.GNOSIS, | ||
| Blockchain.CITREA, | ||
| ]; |
Member
There was a problem hiding this comment.
Update API SUPPORTED_BLOCKCHAINS?
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
isEvm()detection, balance PDF blockchains, transaction signing, and EVM test suitedfx.swiss/images/app/citrea_{lang}.jpg,cbtc_{lang}.jpg,jusd_{lang}.jpg,ctusd_{lang}.jpgChanged files
src/config/feature-tree.ts— buy-evm/sell-evm tiles + buy-citrea/sell-citrea pagessrc/util/evm.ts—isEvm()includes Citrea + Citrea Testnetsrc/screens/account.screen.tsx—SUPPORTED_PDF_BLOCKCHAINSsrc/screens/blockchain-tx.screen.tsx—availableBlockchainssrc/__tests__/evm.test.ts— Jest mock + test arrayTest plan