Skip to content

Add CreditCoin chain support#3840

Merged
DBosley merged 2 commits intodevelopmentfrom
add-creditcoin-connect
Oct 6, 2025
Merged

Add CreditCoin chain support#3840
DBosley merged 2 commits intodevelopmentfrom
add-creditcoin-connect

Conversation

@DBosley
Copy link
Copy Markdown
Collaborator

@DBosley DBosley commented Oct 1, 2025

Summary

Adds support for CreditCoin (Wormhole chain ID 59) to wormhole-connect.

Changes

  • Updated SDK dependencies to 3.8.5 (includes CreditCoin support)
  • Added CreditCoin mainnet configuration
  • Added native CTC token and wCTC (wrapped on Ethereum)
  • Created chain and token icon components
  • Integrated CoinGecko for native token pricing
  • Updated legacy SDK configs
  • Updated tests to include CreditCoin

Chain Details

CoinGecko Integration

⚠️ Note: CoinGecko does not have a Platform ID for CreditCoin in their asset_platforms API.

  • ✅ Native token ID "creditcoin" added to NATIVE_TOKEN_IDS
  • ✅ Native CTC price display works
  • ❌ New tokens deployed on CreditCoin won't auto-display USD prices

Testing

  • ✅ Build: Passed
  • ✅ Tests: 18/18 passing
  • ✅ Lint: Passed

Files Changed (14)

 package.json                       | SDK deps 3.8.1 → 3.8.5
 src/config/mainnet/chains.ts       | Chain config
 src/config/mainnet/rpcs.ts         | RPC mapping
 src/config/mainnet/tokens.ts       | CTC + wCTC tokens
 src/config/types.ts                | TokenIcon enum
 src/icons/Chains/CreditCoin.tsx    | New chain icon
 src/icons/Tokens/CTC.tsx           | New token icon
 src/icons/ChainIcons.tsx           | Icon exports
 src/icons/TokenIcons.tsx           | Icon exports
 src/utils/coingecko.ts             | CoinGecko integration
 src/sdklegacy/config/MAINNET.ts    | Legacy SDK RPC
 src/hooks/useConfigUpdate.test.tsx | Test updates
 src/routes/operator.test.ts        | Test updates
 package-lock.json                  | Dependency updates

@netlify
Copy link
Copy Markdown

netlify bot commented Oct 1, 2025

Deploy Preview for wormhole-connect-mainnet ready!

Name Link
🔨 Latest commit 88521c6
🔍 Latest deploy log https://app.netlify.com/projects/wormhole-connect-mainnet/deploys/68e3f42456799a000877faec
😎 Deploy Preview https://deploy-preview-3840--wormhole-connect-mainnet.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link
Copy Markdown

netlify bot commented Oct 1, 2025

Deploy Preview for wormhole-connect ready!

Name Link
🔨 Latest commit 88521c6
🔍 Latest deploy log https://app.netlify.com/projects/wormhole-connect/deploys/68e3f424ccef6e0008578ef5
😎 Deploy Preview https://deploy-preview-3840--wormhole-connect.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

- Bump NTT packages from 3.0.1 to 3.0.2
- Fix CreditCoin chain and token icons using currentColor for theme compatibility
@DBosley DBosley merged commit 78b11ce into development Oct 6, 2025
20 checks passed
@DBosley DBosley deleted the add-creditcoin-connect branch October 6, 2025 18:04
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.

3 participants