Files
zeekay 73eefae121 feat: add Lux and Zoo chain support to Uniswap V4 subgraph
- Add lux, lux-testnet, lux-devnet, zoo, zoo-testnet to networks.json
- Add chain IDs 96369/96368/96370/200200/200201
- Add SubgraphConfig for Lux/Zoo with precompile contract addresses
- Update dependencies
2026-03-11 12:09:01 -07:00

53 lines
2.2 KiB
JSON

{
"name": "lux-v4-subgraph",
"version": "1.0.0",
"repository": "https://github.com/luxfi/uni-v4-subgraph",
"license": "GPL-3.0-or-later",
"scripts": {
"lint": "eslint . --ext .ts",
"lint:fix": "eslint . --ext .ts --fix",
"build": "run-s codegen && graph build",
"build:docker": "docker build -t matchstick .",
"buildonly": "graph build",
"deploy:alchemy": "graph deploy --node https://subgraphs.alchemy.com/api/subgraphs/deploy --ipfs https://ipfs.satsuma.xyz",
"codegen": "graph codegen --output-dir src/types/",
"test": "graph test -d",
"test:no-tty": "docker run -i --rm --mount type=bind,source=$INIT_CWD,target=/matchstick matchstick",
"prepare": "husky install",
"generate-subgraph": "ts-node scripts/generate-subgraph.ts",
"deploy-lux": "graph deploy lux/uniswap-v4 --ipfs http://graph-ipfs.lux-mainnet.svc:5001 --node http://graph-node.lux-mainnet.svc:8020",
"deploy-lux-testnet": "graph deploy lux-testnet/uniswap-v4 --ipfs http://graph-ipfs.lux-testnet.svc:5001 --node http://graph-node.lux-testnet.svc:8020",
"deploy-lux-devnet": "graph deploy lux-devnet/uniswap-v4 --ipfs http://graph-ipfs.lux-devnet.svc:5001 --node http://graph-node.lux-devnet.svc:8020",
"deploy-zoo": "graph deploy zoo/uniswap-v4 --ipfs http://graph-ipfs.lux-mainnet.svc:5001 --node http://graph-node.lux-mainnet.svc:8020",
"deploy-zoo-testnet": "graph deploy zoo-testnet/uniswap-v4 --ipfs http://graph-ipfs.lux-testnet.svc:5001 --node http://graph-node.lux-testnet.svc:8020"
},
"devDependencies": {
"@graphprotocol/graph-cli": "^0.64.1",
"@graphprotocol/graph-ts": "^0.32.0",
"@typescript-eslint/eslint-plugin": "^2.0.0",
"@typescript-eslint/parser": "^2.0.0",
"@uniswap/eslint-config": "^1.2.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^6.1.0",
"matchstick-as": "^0.6.0",
"npm-run-all": "^4.1.5",
"prettier": "^1.18.2",
"typescript": "^3.5.2"
},
"dependencies": {
"graph": "^0.2.0",
"husky": "8.0.3",
"lint-staged": "^15.2.7",
"yaml": "^2.3.4"
},
"lint-staged": {
"*.{js,ts}": [
"eslint --fix",
"prettier --write"
],
"*.{json,md}": [
"prettier --write"
]
}
}