The strategy works, so I wanted to spin up multiple accounts to diversify risk, but got stuck for a whole day.



The problem wasn't the strategy—it was infrastructure.

Same codebase, Account A trades normally, Account B shows $0 balance no matter what. API auth is fine, address is correct, wallet clearly has $600.

Debugged address mapping, proxy architecture, regenerated API credentials—nothing worked.

Finally found it: Polymarket's Google login and wallet login use different signature protocols under the hood. The code had a hardcoded number 2 when it should be 1. A single constant difference turned the entire account into a ghost account.

Between "strategy runs" and "multiple accounts run," there's a whole layer of engineering problems:
- Account type determines signature protocol—not all accounts are the same
- Zero balance returned doesn't mean no funds, could mean querying the wrong dimension
- Fail-closed security mechanisms make the issue look like "strategy stopped" instead of "config wrong"

Running a single account is a personal project. Deploying multiple accounts is systems engineering.
View Original
This page may contain third-party content, which is provided for information purposes only (not representations/warranties) and should not be considered as an endorsement of its views by Gate, nor as financial or professional advice. See Disclaimer for details.
  • Reward
  • Comment
  • Repost
  • Share
Comment
Add a comment
Add a comment
No comments
  • Pin