秋田预测市场 · Discord 审计

py-clob-client-v2 不支持 POLY_1271 签名导致下单失败

2026-06-15 · Polymarket · 14 条相关讨论

Max der Milchmann 2026-06-14 21:31:50

Using py-clob-client-v2. Maker orders from an older Polymarket Proxy account (signature_type=1) work fine. But a newer/migrated account fails with "maker address not allowed, please use the deposit wallet flow." Switching to signature_type=3 (POLY_1271) then gives "the order signer address has to be the address of the API KEY." Same as GitHub issue #53 (https://github.com/Polymarket/py-clob-client-v2/issues/53). Is there a working deposit-wallet flow for new accounts, or any solution? Thanks!

Using py-clob-client-v2. Maker orders from an older Polymarket Proxy account (signature_type=1) work fine. But a newer/migrated account fails with "maker address not allowed, please use the deposit wallet flow." Switching to signature_type=3 (POLY_1271) then gives "the order signer address has to be the address of the API KEY." Same as GitHub issue #53 (https://github.com/Polymarket/py-clob-client-v2/issues/53). Is there a working deposit-wallet flow for new accounts, or any solution? Thanks!

sonytooo 2026-06-14 22:27:22

Hello UI trades work but CLOB API order placement fails — deposit-wallet key binding (sig type 3) I'm a registered builder. I can place orders fine through the polymarket.com UI from my deposit wallet, but the public CLOB API rejects every order. Looks like the deposit-wallet key-binding gap others have reported (issues #53/#56/#64/#70). Account (Polygon): - Deposit wallet / funder: 0x2903fa16F0B362978C341DA116318511B7042094 - Signer EOA (= deposit wallet owner & registered relayer signer): 0x8500114A8Ae488102A5e696e06Bf8465e1606474 - Builder code: 0x31e56d96fef841238370d67c759564b1f9c14394f2ebe5058685db7b21afaee2 - Wallet is deployed, activated (I just traded manually via UI), ~47 pUSD funded - Relayer API key created API errors (clob-client-v2): - signatureType 3 + funder=deposit wallet → 400 "the order signer address has to be the address of the API KEY" - signatureType 0/1/2 → 400 "maker address not allowed, please use the deposit wallet flow" createOrDeriveApiKey() always binds the CLOB key to my EOA, never the deposit wallet, so order.signer never matches. POST/GET /auth(/derive)-api-key reject POLY_ADDRESS = the deposit wallet with 401, even with a valid ERC-7739 signature (the wallet's on-chain isValidSignature returns 0x1626ba7e). Since the UI places orders from this exact wallet fine: how do I place CLOB orders programmatically from a deposit wallet? Is there a way to bind/register a CLOB API key to the deposit wallet, a builder order endpoint, or an ETA for issue #70?

Hello UI trades work but CLOB API order placement fails — deposit-wallet key binding (sig type 3) I'm a registered builder. I can place orders fine through the polymarket.com UI from my deposit wallet, but the public CLOB API rejects every order. Looks like the deposit-wallet key-binding gap others have reported (issues #53/#56/#64/#70). Account (Polygon): - Deposit wallet / funder: 0x2903fa16F0B362978C341DA116318511B7042094 - Signer EOA (= deposit wallet owner & registered relayer signer): 0x8500114A8Ae488102A5e696e06Bf8465e1606474 - Builder code: 0x31e56d96fef841238370d67c759564b1f9c14394f2ebe5058685db7b21afaee2 - Wallet is deployed, activated (I just traded manually via UI), ~47 pUSD funded - Relayer API key created API errors (clob-client-v2): - signatureType 3 + funder=deposit wallet → 400 "the order signer address has to be the address of the API KEY" - signatureType 0/1/2 → 400 "maker address not allowed, please use the deposit wallet flow" createOrDeriveApiKey() always binds the CLOB key to my EOA, never the deposit wallet, so order.signer never matches. POST/GET /auth(/derive)-api-key reject POLY_ADDRESS = the deposit wallet with 401, even with a valid ERC-7739 signature (the wallet's on-chain isValidSignature returns 0x1626ba7e). Since the UI places orders from this exact wallet fine: how do I place CLOB orders programmatically from a deposit wallet? Is there a way to bind/register a CLOB API key to the deposit wallet, a builder order endpoint, or an ETA for issue #70?

Aemond Targaryen 2026-06-14 22:31:49

Sig type 3. Make sure to use ur funder address (click the button on your profile)

Sig type 3. Make sure to use ur funder address (click the button on your profile)

tsmultra 2026-06-14 23:15:26

``"the order signer ddress has to be the address of the API key"``?

``"the order signer ddress has to be the address of the API key"``?

Aemond Targaryen 2026-06-14 23:16:15

Appears to be fixed, thanks

Appears to be fixed, thanks

033033033 2026-06-14 23:22:22

Hi <@1510685874013077564> <@414319668417789955>

Hi <@1510685874013077564> <@414319668417789955>

gzgz 2026-06-15 01:10:27

was in their little cozy shop

was in their little cozy shop

tsmultra 2026-06-15 02:08:07

Could you please share a screenshot with an example?

Could you please share a screenshot with an example?

Aemond Targaryen 2026-06-15 02:11:03

If you're legitimately still stuck in 3 hours, post here: - What the problem is - What you're trying to do - What you've tried and why it didn't work - Error logs that demonstrate the issue Be cogent and succinct. Include everything that I need to diagnose & help.

If you're legitimately still stuck in 3 hours, post here: - What the problem is - What you're trying to do - What you've tried and why it didn't work - Error logs that demonstrate the issue Be cogent and succinct. Include everything that I need to diagnose & help.

PepeSong 2026-06-15 03:34:36

Any decent coding LLM can one shot this, have you tried using any?

Any decent coding LLM can one shot this, have you tried using any?

Max der Milchmann 2026-06-15 03:40:27

lol ofc I did, maybe claude got lobotomized

lol ofc I did, maybe claude got lobotomized

PepeSong 2026-06-15 04:21:42

Try codex xHigh. Its one shotted every PM bot for me

Try codex xHigh. Its one shotted every PM bot for me