Skip to content

Commit

Permalink
update chain id in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
yeehan-crypto-com committed Nov 25, 2024
1 parent 4eeb8c2 commit 673287d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ client = create_client({
'apiKey': 'YOUR_OPEN_AI_API_KEY',
'model': 'gpt-4o' # Optional, defaults to 'gpt-4-turbo'
},
'chainId': 25, # e.g., for the Cronos EVM Mainnet
'chainId': 25, # 25 for Cronos EVM Mainnet, 338 for Cronos EVM Testnet, 388 for Cronos ZkEVM Mainnet, 240 for Cronos ZkEVM Testnet
'explorerKeys': {
'cronosMainnetKey': 'CRONOS_MAINNET_API_KEY',
'cronosTestnetKey': 'CRONOS_TESTNET_API_KEY',
Expand Down Expand Up @@ -72,7 +72,7 @@ send_query("What is the latest block?")
- `openAI`: Dictionary containing OpenAI configuration
- `apiKey`: Your OpenAI API key
- `model`: (Optional) The model to use (defaults to 'gpt-4-turbo')
- `chainId`: The ID of the blockchain network (25 for Cronos EVM Mainnet, 338 for Cronos EVM Testnet, 388 for Cronos ZkEVM Mainnet, 282 for Cronos ZkEVM Testnet)
- `chainId`: The ID of the blockchain network (25 for Cronos EVM Mainnet, 338 for Cronos EVM Testnet, 388 for Cronos ZkEVM Mainnet, 240 for Cronos ZkEVM Testnet)
- `explorerKeys`: Dictionary of API keys for different explorers, ensure that the keys match the chainId
- `cronosMainnetKey`: (Optional) API key for Cronos Mainnet
- `cronosTestnetKey`: (Optional) API key for Cronos Testnet
Expand Down

0 comments on commit 673287d

Please sign in to comment.