Skip to content

feat(statics): add DynamicNetwork and DynamicCoin for AMS-discovered chains#8291

Draft
shubham-damkondwar wants to merge 1 commit intomasterfrom
CECHO-439/dynamic-coin-network
Draft

feat(statics): add DynamicNetwork and DynamicCoin for AMS-discovered chains#8291
shubham-damkondwar wants to merge 1 commit intomasterfrom
CECHO-439/dynamic-coin-network

Conversation

@shubham-damkondwar
Copy link
Contributor

Ticket: CECHO-439

* Called from createToken() as a fallback when no initializer exists and isToken is false.
*/
function buildDynamicCoin(token: AmsTokenConfig): Readonly<BaseCoin> {
const network = Object.freeze(new DynamicNetwork(token.network as DynamicNetworkOptions));
Copy link
Contributor

Choose a reason for hiding this comment

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

We need to fetch this network from a network factory which returns networks ingested by ams as well.

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.

2 participants