Indexing Ethereum contracts
Last updated
Was this helpful?
Last updated
Was this helpful?
Checkpoint initially supported indexing Starknet contracts only, but it can also index Ethereum contracts now.
Usage with Ethereum is very similar to usage with Starknet, differences are:
Use full signature for event name in config (ProposalUpdated(uint256,(address,bytes),string)
instead of ProposalUpdated
)
Your writers should be using evm.Writer
instead of starknet.Writer
.
You should create indexer using new evm.EvmIndexer
instead of new starknet.StarknetIndexer
.