Skip to content

feat(bitgo): add method to register single token from ams in coin factory #6256

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

veetragjain
Copy link
Contributor

@veetragjain veetragjain commented Jun 6, 2025

There are methods implemented to initiate coin factory using list of token metadata. This PR adds method to register a single token into coin factory.

Ticket: WIN-5057

@veetragjain veetragjain marked this pull request as ready for review June 6, 2025 13:50
@veetragjain veetragjain requested review from a team as code owners June 6, 2025 13:50
* @param tokenConfig - The token metadata from AMS
*/
registerToken(tokenConfig: TrimmedAmsTokenConfig): void {
if (!this._useAms) {
Copy link
Contributor

Choose a reason for hiding this comment

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

How do we set this to true?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Consumer sets this variable to true when initializing bitgo class.

@veetragjain veetragjain merged commit 0d00cbf into master Jun 11, 2025
13 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.

6 participants