This indexer captures and stores FastBridgeV2 events from various blockchain networks.
yarn dev:local
: Runs the indexer in development mode, clearing previous datayarn dev
: Runs the indexer in development modeyarn start
: Starts the indexer in production mode
To run these scripts, use yarn <script-name>
in the terminal from the indexer directory.
-
ponder.schema.ts
- Description: Defines the database schema for indexed events
-
ponder.config.ts
- Description: Configures the indexer, including network details and contract addresses
-
src/index.ts
- Description: Contains the main indexing logic for different event types
-
abis/FastBridgeV2.ts
- Description: Contains the ABI (Application Binary Interface) for the FastBridgeV2 contract
When contributing, focus on these files for making changes to the indexing logic, adding new event types, or modifying the database schema.