-
Notifications
You must be signed in to change notification settings - Fork 35
Add AgentAuditor for Cortensor Hackathon 3 #81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| 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 | ||||||
|
|
||||||
| # 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" | ||||||
|
||||||
| ROUTER_EXTERNAL_IP="192.168.250.221" | |
| ROUTER_EXTERNAL_IP="YOUR_ROUTER_EXTERNAL_IP_HERE" |
| 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 |
There was a problem hiding this comment.
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.