Skip to content

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

Draft
nvrakesh06 wants to merge 3 commits into
masterfrom
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 into
masterfrom
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

@github-actions
Copy link
Copy Markdown

This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days.

@github-actions github-actions Bot added the stale label May 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant