Skip to content

[BTC-3029] Use Zod for SendMany params#8134

Closed
lcovar wants to merge 1 commit intomasterfrom
minion/btc-3029/use-zod-for-sendmany-params-details-vali
Closed

[BTC-3029] Use Zod for SendMany params#8134
lcovar wants to merge 1 commit intomasterfrom
minion/btc-3029/use-zod-for-sendmany-params-details-vali

Conversation

@lcovar
Copy link
Contributor

@lcovar lcovar commented Feb 13, 2026

Automated PR by BitGo Minion

Task: Use Zod for SendMany params

Details:
Validate the sendMany params in wallet file using zod
Ticket: BTC-3029

This PR was created by an autonomous AI agent. Please review carefully.

Add Zod schema (SendManyOptionsSchema) to validate sendMany parameters
in sdk-core wallet. Replace deprecated common.validateParams call with
Zod-based validation using .parse() with .passthrough() to allow
additional properties from parent interfaces.

- Add zod dependency to sdk-core/package.json
- Add SendManyOptionsSchema and supporting schemas in iWallet.ts
- Replace common.validateParams with SendManyOptionsSchema.parse in wallet.ts

BTC-3029
@lcovar lcovar added the minion label Feb 13, 2026
@lcovar lcovar closed this Feb 13, 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