Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@drizzle-utils/contract-state-stream

Package Overview
Dependencies
Maintainers
4
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@drizzle-utils/contract-state-stream

A tool for streaming/listening to contract state.

latest
npmnpm
Version
0.2.1
Version published
Weekly downloads
7
-12.5%
Maintainers
4
Weekly downloads
 
Created
Source

@drizzle-utils/contract-state-stream

A tool for streaming/listening to contract state.

Usage

You'll need to pass in the newBlock$ that you can get from the @drizzle-utils/new-block-stream package.

import createContractState$ from "@drizzle-utils/contract-state-stream";

const state$ = createContractState$({
  newBlock$,  // from @drizzle-utils/new-block-stream package
  artifact,   // Truffle JSON artifact w/ AST
  provider,   // any valid Ethereum provider
});

FAQs

Package last updated on 14 May 2019

Did you know?

Socket

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