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
This commit is contained in:
16
dev/tests/test_chain_manager.py
Normal file
16
dev/tests/test_chain_manager.py
Normal file
@@ -0,0 +1,16 @@
|
||||
import asyncio
|
||||
from aitbc_cli.core.chain_manager import ChainManager
|
||||
from aitbc_cli.core.config import load_multichain_config
|
||||
|
||||
async def test():
|
||||
config = load_multichain_config()
|
||||
manager = ChainManager(config)
|
||||
print("Nodes:", config.nodes)
|
||||
chains = await manager.list_chains()
|
||||
print("All chains:", [c.id for c in chains])
|
||||
|
||||
chain = await manager._find_chain_on_nodes("ait-testnet")
|
||||
print("Found ait-testnet:", chain is not None)
|
||||
|
||||
if __name__ == "__main__":
|
||||
asyncio.run(test())
|
||||
Reference in New Issue
Block a user