Skip to content

Commit 132baa8

Browse files
amish kohliamish kohli
authored andcommitted
indexer first commit
1 parent a310676 commit 132baa8

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

README.md

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -58,16 +58,17 @@ npm run ponder
5858

5959
## 🏗 Project Structure
6060

61-
indexer/
62-
├── src/
63-
│ ├── index.ts # Main indexer logic
64-
│ └── api/
65-
│ ├── index.ts # GraphQL setup
66-
│ └── server.ts # REST API endpoints
67-
├── abis/
68-
│ └── ExampleContractAbi.ts # Contract ABI definitions
69-
├── ponder.config.ts # Ponder configuration
70-
└── ponder.schema.ts # Database schema definitions
61+
The indexer directory has the following structure:
62+
63+
* `src/`: This directory contains the main indexer logic.
64+
+ `index.ts`: This file contains the main indexer logic.
65+
+ `api/`: This directory contains the API setup.
66+
- `index.ts`: This file contains the GraphQL setup.
67+
- `server.ts`: This file contains the REST API endpoints.
68+
* `abis/`: This directory contains the contract ABI definitions.
69+
+ `ExampleContractAbi.ts`: This file contains the contract ABI definitions.
70+
* `ponder.config.ts`: This file contains the Ponder configuration.
71+
* `ponder.schema.ts`: This file contains the database schema definitions.
7172

7273
## 🚀 API Endpoints
7374

0 commit comments

Comments
 (0)