Socket
Socket
Sign inDemoInstall

@attestate/crawler

Package Overview
Dependencies
151
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @attestate/crawler

@attestate/crawler is a tool chain to retrieve on-chain data from Ethereum.


Version published
Weekly downloads
4
decreased by-55.56%
Maintainers
1
Created
Weekly downloads
 

Changelog

Source

0.5.0

  • (breaking) config.path[] for transformer, extractor and loader, the properties output.path and input.path were renamed to output.name and doesn't have to be a path anymore. Instead, they are file names that are automatically resolved from within env.DATA_DIR.
  • (breaking) process.env variables defined in the .env file can now also be defined (and overwritten) in the config.mjs file's environment property.
  • (breaking) All lifecycle methods now have an updated interface as outlined below:
    • extractor function init({ state, args, execute })
    • extractor function update({ message })
    • tranformer function onLine({ state }) where state.line is the line function. args can be matched too.
    • loader function* order({ state }) where state.line is the line
    • loader function* direct({ state }) where state.line is the line
  • There is a new component to a strategy called the "coordinator" that keeps track of state. The config.mjs file (the path property) features a new field called coordinator where a module and an interval can be defined. They're used to re-run the first path once all jobs have been completed, to e.g. keep in synchronization with a network like Ethereum.
  • We forked the extraction-worker from the neume-network organization and added a feature to immediately execute a worker message. More details: https://github.com/attestate/extraction-worker/.
  • Reference docs for the extraction worker have been added.
  • Reference docs for the crawler CLI have been added.
  • Note: The @attestate/crawler-call-block-logs module at version 0.3.0 is compatible.

Readme

Source

@attestate/crawler

dry run prettier unit tests

A JavaScript library for retrieving on-chain storage and generating data derivatives.

  • Modular: Extract, Transform and Load stage separation makes composing simple components into complex workflows possible. Stages are reunnable to recover errors.
  • Embedded: Unlike Graph Protocol, Attestate's Crawler does not have a separate server process. It writes directly to LMDB, an embedded database that can be read-from thread-safely at any time.
  • Batteries-included: Support for Ethereum, IPFS, Arweave, GraphQL and rate-limit pooling for Infura and Alchemy.

License

SPDX-License-Identifier: GPL-3.0-only

Keywords

FAQs

Last updated on 13 Apr 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc