{"_id":"@bronosorg/graph-indexer-service","name":"@bronosorg/graph-indexer-service","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@bronosorg/graph-indexer-service","version":"1.0.0","description":"Indexer service","main":"./dist/index.js","types":"./dist/index.d.ts","repository":{"type":"git","url":"https://github.com/graphprotocol/indexer"},"author":{"name":"Graph Protocol"},"private":false,"scripts":{"format":"prettier --write 'src/**/*.ts'","lint":"eslint . --ext .ts,.tsx --fix","compile":"tsc","start":"node ./dist/index.js start","test":"jest --colors --verbose --forceExit","test:ci":"jest --verbose --forceExit --ci","test:watch":"jest --watch --passWithNoTests --detectOpenHandles --verbose","clean":"rm -rf ./node_modules ./dist ./tsconfig.tsbuildinfo"},"bin":{"graph-indexer-service":"bin/graph-indexer-service"},"resolutions":{"ethers":"5.6.2","@ethersproject/bignumber":"5.6.0","graphql":"16.3.0"},"dependencies":{"@bronosorg/graph-common-ts":"^1.3.0","@bronosorg/graph-indexer-common":"^1.3.0","@google-cloud/profiler":"4.1.7","@graphprotocol/indexer-native":"^0.20.5-alpha.1","@graphql-tools/load":"7.5.8","@graphql-tools/url-loader":"7.9.11","@graphql-tools/wrap":"8.4.13","@thi.ng/cache":"1.0.94","@urql/core":"2.4.4","apollo-link-http":"1.5.17","axios":"0.26.1","body-parser":"1.19.1","bs58":"5.0.0","cors":"2.8.5","cross-fetch":"3.1.5","ethers":"5.6.2","evt":"1.10.1","express":"4.17.3","express-graphql":"0.12.0","express-rate-limit":"^5.5.1","graphql":"16.3.0","graphql-tag":"2.12.6","graphql-tools":"8.2.6","isomorphic-fetch":"3.0.0","merkletreejs":"^0.2.13","morgan":"1.9.1","p-map":"4.0.0","p-queue":"6.6.2","p-retry":"4.6.1","read-pkg":"5.2.0","yargs":"17.4.1"},"devDependencies":{"@types/body-parser":"1.19.0","@types/bs58":"4.0.1","@types/cors":"2.8.12","@types/express":"4.17.8","@types/express-rate-limit":"^5.1.3","@types/isomorphic-fetch":"0.0.35","@types/jest":"27.4.1","@types/morgan":"1.9.2","@types/supertest":"2.0.12","@types/yargs":"17.0.10","@typescript-eslint/eslint-plugin":"5.19.0","@typescript-eslint/parser":"5.19.0","eslint":"8.13.0","eslint-config-prettier":"8.5.0","jest":"27.5.1","nock":"13.2.4","prettier":"2.6.2","supertest":"6.2.2","ts-jest":"27.1.4","typescript":"4.6.3"},"gitHead":"972ab96774007b2aee15b1da169d2ff4be9f9d27","licenseText":"Copyright 2020 The Graph Foundation\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the \"Software\"), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\nthe Software, and to permit persons to whom the Software is furnished to do so,\nsubject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\nFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","license":"MIT","_id":"@bronosorg/graph-indexer-service@1.0.0","dist":{"shasum":"758128ece630eba3b0aee10b64db6ed0602e6911","integrity":"sha512-IVBySU4r6RYTQxc6ewIys5UkgSW7mbClbeBhNP9yY3q45C03ZqXegqTbfyyOV5FtQwTMqHVGp/UkPTNm7vki/A==","tarball":"https://registry.npmjs.org/@bronosorg/graph-indexer-service/-/graph-indexer-service-1.0.0.tgz","fileCount":47,"unpackedSize":133005,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEogKZzxkclBLvGMVvON2z5xo2hzJqNdWmlBDx2bgihIAiEAxmL9Obk+JCDwcL7GCiiXaAT+n20zPsSlGbpyzFLgYcc="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjjNOCACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo9pQ/+NdT9gkOA/yqox+OPh/E8uyK0C17KnlhIrhoi5qRxtAL10zjH\r\nKoi0IQphcYKwrHagvKccFhKxmkT0XmuhX97pGfmVORBkS6Aea3DQJlU/YeqO\r\nf2dexCbEQBt7ufu6ST33y1ncPPIVKgteTEOgmSEVGh7D+Ji6IaagwJNSEAxk\r\nSBZA5y3LGNvLzRIPTx6nIGRtZAaI4ZYRl0swkhuabIsuHG67/Ch9n3nxtnx2\r\n8IeKSz7bQ+26/x60ThWmMR3JerKlGPH/SnKHg8HUpfeQaf+aBFgGwNjYD9O+\r\naliuaF98q+0fqbMUumdtLbW5e+2xRINZQA2twn5k6YctZqenXKPB2ZzFwVwX\r\nYDpDfWa5QJzzVwMVBa6O0eH8W4jd+omakwzQQIxnrNZT2g+nJuqLpl4tjIm7\r\nlGAXrmD7Rjhk47GXZYw8791+Q3/RSHvgTOFB9EczFXhYHNb+mkuJQgbG9n8L\r\nGx/Ur0M+L6/FrEH7nmZM+OyezQNE8bRu/fkFYNex95MR7KSU3aI3Zd/2DN+e\r\nnnDUlHPixdh/GpH4crtGty7czsBytqPjUYOycMil2Nx8oUvy7UfB3VLSp26Q\r\n373xm/jFO8v3ESoB2jRvld1T7Up8/PxYYuTy50B95jIHjRC/jScMNsOtB1E7\r\nHVzOiCNG+Cb1tOR3QAb5gk5K3T+QtXc4UAg=\r\n=qAFx\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"bronosorg","email":"naveen.chedeti@bronos.org"},"directories":{},"maintainers":[{"name":"bronosorg","email":"naveen.chedeti@bronos.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graph-indexer-service_1.0.0_1670173570765_0.25267317478432805"},"_hasShrinkwrap":false}},"time":{"created":"2022-12-04T17:06:10.707Z","1.0.0":"2022-12-04T17:06:10.942Z","modified":"2022-12-04T17:06:11.095Z"},"maintainers":[{"name":"bronosorg","email":"naveen.chedeti@bronos.org"}],"description":"Indexer service","repository":{"type":"git","url":"https://github.com/graphprotocol/indexer"},"author":{"name":"Graph Protocol"},"license":"MIT","readme":"# Indexer Service\n\n## Usage\n\n### `graph-indexer-service start`\n\n```\nStart the service\n\nEthereum\n  --ethereum                   Ethereum node or provider URL [string] [required]\n  --ethereum-network           Ethereum network    [string] [default: \"rinkeby\"]\n  --ethereum-polling-interval  Polling interval for the Ethereum provider (ms)\n                                                        [number] [default: 4000]\n  --mnemonic                   Mnemonic for the operator wallet\n                                                             [string] [required]\n  --indexer-address            Ethereum address of the indexer\n                                                             [string] [required]\n\nIndexer Infrastructure\n  --port                        Port to serve queries at[number] [default: 7600]\n  --metrics-port                Port to serve Prometheus metrics at\n                                                        [number] [default: 7300]\n  --graph-node-query-endpoint   Graph Node endpoint to forward queries to\n                                                             [string] [required]\n  --graph-node-status-endpoint  Graph Node endpoint for indexing statuses etc.\n                                                             [string] [required]\n  --log-level                   Log level            [string] [default: \"debug\"]\n\nPostgres\n  --postgres-host      Postgres host                         [string] [required]\n  --postgres-port      Postgres port                    [number] [default: 5432]\n  --postgres-username  Postgres username          [string] [default: \"postgres\"]\n  --postgres-password  Postgres password                  [string] [default: \"\"]\n  --postgres-database  Postgres database name                [string] [required]\n\nNetwork Subgraph\n  --network-subgraph-endpoint  Endpoint to query the network subgraph from\n                                                             [string] [required]\n\nState Channels\n  --wallet-worker-threads       Number of worker threads for the server wallet\n                                                           [number] [default: 8]\n  --wallet-skip-evm-validation  Whether to skip EVM-based validation of state\n                                channel transitions    [boolean] [default: true]\n\nOptions:\n  --version                Show version number                         [boolean]\n  --help                   Show help                                   [boolean]\n  --free-query-auth-token  Auth token that clients can use to query for free\n                                                                         [array]\n```\n\n# Copyright\n\nCopyright &copy; 2020 The Graph Foundation\n\nLicensed under the [MIT license](LICENSE).\n","readmeFilename":"README.md"}