Skip to content

pinax-network/firehose-starknet

 
 

Repository files navigation

StreamingFast Fireshose Banner

Firehose for Starknet

reference License

Quickstart with Firehose for Starknet can be found in the official Firehose docs. Here some quick links to it:

Running the Firehose poller

The below command with start streaming Firehose Starknet blocks, check proto/sf/starknet/type/v1/block.proto for more information.

firestarknet fetch $FIRST_STREAMABLE_BLOCK --state-dir $STATE_DIR --block-fetch-batch-size=1 --interval-between-fetch=0s --latest-block-retry-interval=10s --starknet-endpoints $STARKNET_RPC_ENDPOINT --eth-endpoints $ETH_ENDPOINT
# FIRST_STREAMABLE_BLOCK: this would often be set to 0
# STATE_DIR: Location to store the Firehose Starknet blocks
# STARKNET_RPC_ENDPOINT: RPC Endpoint for Starknet to make calls to fetch blocks with receitps, state udpdate, block number and latest block number
# ETH_ENDPOINT: L1 ETH RPC Endpoint to fetch the L1 accept block

Contributing

Report any protocol-specific issues in their respective repositories

Please first refer to the general StreamingFast contribution guide, if you wish to contribute to this code base.

License

Apache 2.0

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 98.1%
  • Dockerfile 1.2%
  • Shell 0.7%