feat: Add Drift market discovery script for finding market indices and oracle addresses

Co-authored-by: mindesbunister <32161838+mindesbunister@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2025-12-05 14:38:16 +00:00
parent 830c08dfc7
commit e9472175ba
4 changed files with 3795 additions and 1 deletions

View File

@@ -11,7 +11,8 @@
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"test:ci": "jest --ci --coverage --reporters=default --reporters=jest-junit"
"test:ci": "jest --ci --coverage --reporters=default --reporters=jest-junit",
"discover-markets": "npx tsx scripts/discover-drift-markets.ts"
},
"dependencies": {
"@drift-labs/sdk": "^2.75.0",
@@ -38,6 +39,8 @@
"@types/node": "^20.11.0",
"@types/react": "^18.2.0",
"@types/react-dom": "^18.2.0",
"eslint": "9.39.1",
"eslint-config-next": "16.0.7",
"jest": "^29.7.0",
"jest-junit": "^16.0.0",
"ts-jest": "^29.2.5",