Skip to content

Conversation

ravibitgo
Copy link
Contributor

@ravibitgo ravibitgo commented Oct 1, 2025

Ticket: COIN-5851

class Canton extends Mainnet implements BaseNetwork {
name = 'Canton';
family = CoinFamily.CANTON;
explorerUrl = '';
Copy link
Contributor

Choose a reason for hiding this comment

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

why explorerUrl is empty?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

There is no explorer url for canton as it's a privacy based chain

CoinFeature.CUSTODY_BITGO_INDIA,
];

export const CANTON_FEATURES = [...CANTON_DEFAULT_FEATURES, CoinFeature.TSS, CoinFeature.TSS_COLD];
Copy link
Contributor

Choose a reason for hiding this comment

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

Why created 2 different features arrays?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Idea was to make the CANTON_DEFAULT_FEATURES as the default feature for utxo coins that is on account model (sui & ada).
Ada maintains its own default features inside ada class - for these we can make a common default feature.
Have added a ticket in backlog: COIN-5870

For now will make a single features array for canton

Networks.main.canton,
UnderlyingAsset.CANTON,
CANTON_FEATURES,
'',
Copy link
Contributor

Choose a reason for hiding this comment

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

if prefix is always empty for both testnet and mainnet coin, then could we remove prefix itself?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

removed

@ravibitgo ravibitgo requested a review from baltiyal October 1, 2025 11:14
@ravibitgo ravibitgo force-pushed the COIN-5805 branch 2 times, most recently from 9f44e16 to 9aa34bb Compare October 3, 2025 11:57
@ravibitgo ravibitgo force-pushed the COIN-5851 branch 2 times, most recently from 9c0a398 to d9763f4 Compare October 6, 2025 05:42
Base automatically changed from COIN-5805 to master October 6, 2025 05:57
@ravibitgo ravibitgo marked this pull request as ready for review October 6, 2025 06:04
@ravibitgo ravibitgo requested review from a team as code owners October 6, 2025 06:04
@ravibitgo ravibitgo marked this pull request as draft October 6, 2025 06:39
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