Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions apps/AgentAuditor/.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
ARBITRUM_SEPOLIA_RPC_URL=https://sepolia-rollup.arbitrum.io/rpc
PRIVATE_KEY=
SESSION_V2_ADDRESS=0x2e9cC638CF07efdeC82b4beF932Ca4a8Dcd55015
SESSION_QUEUE_V2_ADDRESS=0x9a9Db957e106894D598bf3AD912F3B604C085235
DATABASE_URL=sqlite:///./agent_auditor.db
IPFS_PROVIDER=pinata
PINATA_API_KEY=
PINATA_SECRET_KEY=
CORTENSOR_RPC_URL=https://rpc.cortensor.network

CORTENSOR_SESSION_ID=

CORTENSOR_API_URL=http://172.29.51.244:5010
Copy link

Copilot AI Dec 28, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The CORTENSOR_API_URL is hardcoded to a private IP address "http://172.29.51.244:5010" which will not work for other developers or in production. This should default to "http://127.0.0.1:5010" for local development, and the private IP should be moved to a local .env file rather than being included in the example configuration.

Suggested change
CORTENSOR_API_URL=http://172.29.51.244:5010
# Local default for CORTENSOR API; override in your own .env if needed
CORTENSOR_API_URL=http://127.0.0.1:5010

Copilot uses AI. Check for mistakes.

# Enable API
API_ENABLE=1

# Generate a unique API key
API_KEY=default-dev-token

# Set your API port
API_PORT=8000

# Router External IP and Port for Miner Communication
# Used for external access to the router
ROUTER_EXTERNAL_IP="192.168.250.221"
Copy link

Copilot AI Dec 28, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The ROUTER_EXTERNAL_IP is set to a private IP address "192.168.250.221" which is specific to the developer's local network. This should be updated to a placeholder value like "YOUR_ROUTER_IP_HERE" or "0.0.0.0" to make it clear that users need to configure this value for their own environment.

Suggested change
ROUTER_EXTERNAL_IP="192.168.250.221"
ROUTER_EXTERNAL_IP="YOUR_ROUTER_EXTERNAL_IP_HERE"

Copilot uses AI. Check for mistakes.
ROUTER_EXTERNAL_PORT="9001"

# Router REST Bind IP and Port for Client Communication
# Reverse proxy to this IP and port
ROUTER_REST_BIND_IP="127.0.0.1"
ROUTER_REST_BIND_PORT="5010"
73 changes: 73 additions & 0 deletions apps/AgentAuditor/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
# Environment
.env
.env.*
!.env.example

# Python
__pycache__/
*.py[cod]
*$py.class
.Python
venv/
env/
.venv/
pip-wheel-metadata/
pip-log.txt

# Packaging / build
build/
dist/
*.egg-info/
.eggs/

# Tests / coverage
.pytest_cache/
.coverage
htmlcov/
coverage/

# Databases
*.sqlite3
*.db
*.sqlite

# Logs
*.log
logs/

# IDEs / editors
.vscode/
.idea/
*.iml

# OS files
.DS_Store
Thumbs.db

# Node / frontend
node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
package-lock.json
yarn.lock
/dist
/.vite

# Docker
docker-compose.override.yml

# Jupyter
.ipynb_checkpoints

# Secrets / keys / certificates
*.pem
*.key
private_key
secrets.json

# Misc
*.bak
*.swp
```# filepath: c:\Users\shres\Desktop\AgentAuditor\.gitignore
Loading