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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user