Last active
November 22, 2019 08:37
-
-
Save mempirate/cf0c02b406035d55002e53159c793c8a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict' | |
const Web3 = require('web3') | |
const BuildTransactionChecker = require('./transactionChecker') | |
const CreateClient = require('./ethClient') | |
const web3 = CreateClient(Web3) | |
const checkBlock = BuildTransactionChecker(web3) | |
setInterval(() => { | |
checkBlock() | |
}, 7000) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment