Skip to content

Conversation

@ArunBala-Bitgo
Copy link
Contributor

@ArunBala-Bitgo ArunBala-Bitgo commented Nov 18, 2025

Ticket: WIN-7914

This PR includes the following changes:

Onboarding:

tip:usdc and ip:aria - these tokens onto the story chain

Optimisation:

coinFactory.ts - Added map-based routing for EthLike chains
tokenConfig.ts - Currently has repetitive token config functions

Impact:

Maintainability: Adding a new EthLike chain now requires:
1 line in the map (instead of 5 lines in switch)
1 line to create the formatter (instead of 18 lines)

Consistency: All similar chains use the same logic, reducing bugs

Scalability: Easy to add 10, 20, or 100 new chains without code bloat

@ArunBala-Bitgo ArunBala-Bitgo force-pushed the WIN-7914 branch 5 times, most recently from 98c53b3 to 56c532b Compare November 18, 2025 08:14
@ArunBala-Bitgo ArunBala-Bitgo marked this pull request as ready for review November 18, 2025 09:17
@ArunBala-Bitgo ArunBala-Bitgo requested review from a team as code owners November 18, 2025 09:17
@ArunBala-Bitgo ArunBala-Bitgo force-pushed the WIN-7914 branch 2 times, most recently from ab0890b to c36b30c Compare November 21, 2025 14:27
@ArunBala-Bitgo ArunBala-Bitgo changed the title feat: story (ip) tesnet usdc token onboarding + few code improvements (feat + refactor): story (ip) tesnet usdc token onboarding + few code improvements Nov 21, 2025
Copy link
Contributor

@Taseen08 Taseen08 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ci failures

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.

4 participants