0.2.1 • Published 5 years ago
@drizzle-utils/contract-state-stream v0.2.1
@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
});
0.2.1
5 years ago
0.2.0
5 years ago
0.1.7-alpha.0
5 years ago
0.1.6-alpha.0
5 years ago
0.1.4-alpha.0
5 years ago
0.1.3-alpha.0
5 years ago