Skip to content
This repository was archived by the owner on May 11, 2026. It is now read-only.

deposit wallet init#346

Open
arun-poly wants to merge 1 commit into
mainfrom
deposit-wallet
Open

deposit wallet init#346
arun-poly wants to merge 1 commit into
mainfrom
deposit-wallet

Conversation

@arun-poly
Copy link
Copy Markdown

@arun-poly arun-poly commented Apr 9, 2026

Note

Medium Risk
Introduces a new SignatureType enum value that may affect downstream logic that assumes only types 0–2, potentially impacting order signing/validation flows for clients upgrading.

Overview
Adds a new signature mode, SignatureType.POLY_DEPOSIT_WALLET = 3, documented as ERC-1271 isValidSignature() validation with ERC-7739 nested domain wrapping.

Updates examples/signatureTypes.ts to show how to initialize a ClobClient for a Polymarket Deposit Wallet using the new signature type and wallet address.

Reviewed by Cursor Bugbot for commit ab376cd. Bugbot is set up for automated code reviews on this repo. Configure here.

@arun-poly arun-poly requested a review from a team as a code owner April 9, 2026 10:57
This was referenced May 8, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant