Files
aitbc/dev/scripts/patch_cli_client_api_key.py
oib ccedbace53 chore: remove configuration files and enhance blockchain explorer with advanced search, analytics, and export features
- Delete .aitbc.yaml.example CLI configuration template
- Delete .lycheeignore link checker exclusion rules
- Delete .nvmrc Node.js version specification
- Add advanced search panel with filters for address, amount range, transaction type, time range, and validator
- Add analytics dashboard with transaction volume, active addresses, and block time metrics
- Add Chart.js integration
2026-03-02 15:38:25 +01:00

10 lines
451 B
Python

import re
with open("/home/oib/windsurf/aitbc/cli/aitbc_cli/commands/client.py", "r") as f:
content = f.read()
# Fix the auth header name: the node code requires X-Api-Key but the CLI is sending X-Api-Key as well.
# Oh, the error was "invalid api key". Let's check config.api_key. If not set, it might be None or empty.
# In test_api_submit2.py we sent "X-Api-Key": "client_dev_key_1" and got "invalid api key".
# Why did test_api_submit2 fail?