Generating eth_call based lazy watcher (#249)

* Add entity generation.

* Add resolvers generation.

* Add queries in resolvers generation.

* Add indexer generation.

* Extract helper code in utils.

* Add server and artifacts generation.

* Fix solidity-flattener issue.

* Update readme and cleanup misc files.

* Add queries to entity generation.

* Add database generation.

* Use snakecase in database.

* Add readme generation.

* Change template file names.

* Add method descriptions.

* Change mode to eth_call in readme.

Co-authored-by: prathamesh <prathamesh.musale0@gmail.com>
This commit is contained in:
Ashwin Phatak
2021-09-23 16:55:46 +05:30
committed by GitHub
co-authored by prathamesh
parent 4f8f1d8cd7
commit 92b7967895
32 changed files with 1388 additions and 125 deletions
+3 -1
View File
@@ -6,7 +6,7 @@
"main": "index.js",
"scripts": {
"lint": "eslint .",
"codegen:gql": "ts-node src/generate-schema.ts"
"codegen": "ts-node src/generate-code.ts"
},
"repository": {
"type": "git",
@@ -23,7 +23,9 @@
"@solidity-parser/parser": "^0.13.2",
"graphql": "^15.5.0",
"graphql-compose": "^9.0.3",
"handlebars": "^4.7.7",
"node-fetch": "^2",
"solc": "^0.8.7-fixed",
"ts-node": "^10.2.1",
"typescript": "^4.3.2",
"yargs": "^17.1.1"