Skip to content

Commit 4232b12

Browse files
committed
docs: correct chain references from Base to Arbitrum
1 parent 9d741ec commit 4232b12

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ from perpcity_sdk import PerpCityContext, open_taker_position, OpenTakerPosition
2020

2121
# Initialize context
2222
context = PerpCityContext(
23-
rpc_url="https://base-sepolia.g.alchemy.com/v2/YOUR_KEY",
23+
rpc_url="https://arb-sepolia.g.alchemy.com/v2/YOUR_KEY",
2424
private_key="0xYOUR_PRIVATE_KEY",
2525
perp_manager_address="0xPERP_MANAGER",
2626
usdc_address="0xUSDC",
@@ -53,7 +53,7 @@ print(f"PnL: ${details.pnl:.2f}")
5353
### PerpCityContext
5454

5555
```python
56-
context = PerpCityContext(rpc_url, private_key, perp_manager_address, usdc_address, chain_id=84532)
56+
context = PerpCityContext(rpc_url, private_key, perp_manager_address, usdc_address, chain_id=421614)
5757
```
5858

5959
**Methods:**
@@ -89,7 +89,7 @@ context = PerpCityContext(rpc_url, private_key, perp_manager_address, usdc_addre
8989
## Environment Variables
9090

9191
```
92-
RPC_URL=https://base-sepolia.g.alchemy.com/v2/YOUR_KEY
92+
RPC_URL=https://arb-sepolia.g.alchemy.com/v2/YOUR_KEY
9393
PRIVATE_KEY=0xYOUR_PRIVATE_KEY
9494
PERP_MANAGER_ADDRESS=0xYOUR_PERP_MANAGER
9595
USDC_ADDRESS=0xYOUR_USDC

0 commit comments

Comments
 (0)