Skip to content

feat(sdk-coin-iota): add recovery and consolidation support#8089

Open
shubham-damkondwar wants to merge 1 commit intomasterfrom
WIN-8627
Open

feat(sdk-coin-iota): add recovery and consolidation support#8089
shubham-damkondwar wants to merge 1 commit intomasterfrom
WIN-8627

Conversation

@shubham-damkondwar
Copy link
Contributor

This covers the main changes: adding recover, recoverConsolidations, and sweep methods to the IOTA coin module, along with related constants, utility functions, and environment configuration.

TICKET: WIN-8627

@shubham-damkondwar shubham-damkondwar force-pushed the WIN-8627 branch 3 times, most recently from 5af8ff9 to 365b391 Compare February 10, 2026 06:04
* of the addresses being swept
*/
async recover(params: IotaRecoveryOptions): Promise<MPCTxs | MPCSweepTxs> {
if (!params.bitgoKey) {
Copy link
Contributor

Choose a reason for hiding this comment

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

why do we need bitgoKey? is it the public key for wallet? if yes then can we rename the param to avoid confusion?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes it is BitGo Public Key.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We are using this same param for all other coins as well. Should I go ahead and rename it across all coins?

@dpkjnr
Copy link
Contributor

dpkjnr commented Feb 12, 2026

please add the tests also

Copy link
Contributor

@alextse-bg alextse-bg left a comment

Choose a reason for hiding this comment

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

wallets-owned changes lgtm

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.

4 participants