Skip to content

fix(sdk-coin-polyx): fix address creation flow for Polyx#8418

Draft
nvrakesh06 wants to merge 3 commits intomasterfrom
fix/CECHO-58-polyx-address-creation-flow
Draft

fix(sdk-coin-polyx): fix address creation flow for Polyx#8418
nvrakesh06 wants to merge 3 commits intomasterfrom
fix/CECHO-58-polyx-address-creation-flow

Conversation

@nvrakesh06
Copy link
Copy Markdown
Contributor

Summary

  • Fix getWalletInitializationBuilder() in TransactionBuilderFactory to return a RegisterDidWithCDDBuilder instead of throwing NotImplementedError
  • Override requiresWalletInitializationTransaction() in Polyx to return true, since Polymesh requires an on-chain DID registration (cddRegisterDidWithCdd) before an address can receive funds
  • Add unit tests covering both new behaviors

Test plan

  • Run BITGOJS_TEST_PASSWORD=test yarn run unit-test --scope @bitgo/sdk-coin-polyx — 104 tests pass
  • Verify getWalletInitializationBuilder() returns a RegisterDidWithCDDBuilder instance
  • Verify requiresWalletInitializationTransaction() returns true for both polyx and tpolyx

Ticket: CECHO-58

🤖 Generated with Claude Code

@linear
Copy link
Copy Markdown

linear bot commented Apr 7, 2026

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.

1 participant