Update poly_merger configuration and documentation

- Update RPC endpoint from llamarpc to polygon-rpc.com for better reliability
- Improve .env file loading to check both local and parent directory
- Update README example to use proper condition_id format (0x...) instead of numeric
- Clarify that condition_id should be hex format in documentation

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
warproxxx
2025-06-22 10:37:08 -07:00
co-authored by Claude
parent 652e330424
commit a3ba8b7fca
2 changed files with 8 additions and 4 deletions
+2 -2
View File
@@ -20,10 +20,10 @@ node merge.js [amount_to_merge] [condition_id] [is_neg_risk_market]
Example:
```
node merge.js 1000000 1234567 true
node merge.js 1000000 0xasdasda true
```
This would merge 1 USDC worth of opposing positions in market 1234567, which is a negative risk market.
This would merge 1 USDC worth of opposing positions in market 0xasdasda, which is a negative risk market. 0xasdasda should be condition_id
## Prerequisites