First, thanks for building the CLI — it’s been really handy!
I noticed that sometimes when I use bridge deposit, the transaction is confirmed on Ethereum, but running:
polymarket bridge status <bridge_address>
still shows:
This usually happens if the backend indexer hasn’t picked up the deposit yet. The funds are not lost, but the CLI doesn’t reflect the real state, which can be confusing.
Proposed solution:
Add an on-chain fallback: if the API returns nothing, the CLI could check Ethereum for the USDC transfer to the bridge address and show a “Deposit detected, awaiting bridge processing” message.
I already have a working implementation in mind and would be happy to submit a PR if this sounds useful.
Thanks!