Skip to content

Conversation

@ArunBala-Bitgo
Copy link
Contributor

Ticket: WIN-8435

We should pass the correct address coin for ofc erc20 tokens

Previously for all ofcerc20 tokens the default valueeth was picked and used

export function ofcerc20(
id: string,
name: string,
fullName: string,
decimalPlaces: number,
asset: UnderlyingAsset,
kind: CoinKind = CoinKind.CRYPTO,
features: CoinFeature[] = OfcCoin.DEFAULT_FEATURES,
prefix = '',
suffix: string = name.replace(/^ofc/, '').toUpperCase(),
network: OfcNetwork = Networks.main.ofc,
isToken = true,
addressCoin = 'eth', <--- HERE WE ARE USING DEFAULT VALUE AS ETH
primaryKeyCurve: KeyCurve = KeyCurve.Secp256k1
)

@ArunBala-Bitgo ArunBala-Bitgo changed the title feat: fix config for ofc erc20 tokens fix: fix config for ofc erc20 tokens Dec 23, 2025
Copy link
Contributor

@Venkat-Annavazzala Venkat-Annavazzala left a comment

Choose a reason for hiding this comment

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

LGTM

@shivabitgo shivabitgo marked this pull request as ready for review December 23, 2025 11:44
@shivabitgo shivabitgo requested review from a team as code owners December 23, 2025 11:44
@ArunBala-Bitgo ArunBala-Bitgo merged commit e7a5a20 into master Dec 23, 2025
14 checks passed
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