chore: refactor logging module, update genesis timestamp, remove model relationships, and reorganize routers

- Rename logging.py to logger.py and update import paths in poa.py and main.py
- Update devnet genesis timestamp to 1766828620
- Remove SQLModel Relationship declarations from Block, Transaction, and Receipt models
- Add SessionDep type alias and get_session dependency in coordinator-api deps
- Reorganize coordinator-api routers: replace explorer/registry with exchange, users, marketplace
This commit is contained in:
oib
2025-12-28 21:05:53 +01:00
parent cdaf1122c3
commit ff5486fe08
146 changed files with 33301 additions and 219 deletions

View File

@ -27,15 +27,18 @@ The AITBC explorer allows you to browse and search the blockchain for transactio
## Using the Explorer
### Web Interface
Visit [https://explorer.aitbc.io](https://explorer.aitbc.io)
Visit [https://aitbc.bubuit.net/explorer/](https://aitbc.bubuit.net/explorer/)
### API Access
```bash
# Get transaction
curl https://api.aitbc.io/v1/transactions/{tx_hash}
curl https://aitbc.bubuit.net/api/v1/transactions/{tx_hash}
# Get job details
curl https://api.aitbc.io/v1/jobs/{job_id}
curl https://aitbc.bubuit.net/api/v1/jobs/{job_id}
# Explorer data (blocks)
curl https://aitbc.bubuit.net/api/explorer/blocks
```
## Advanced Features