How to use @mycrypto/eth-scan - 3 common examples

To help you get started, we’ve selected a few @mycrypto/eth-scan examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github MyCryptoHQ / MyCrypto / common / v2 / services / Store / BalanceService.tsx View on Github external
const getScannerWithProvider = (provider: FallbackProvider) => {
  return new EthScan(new EthersProvider(provider));
};
github MyCryptoHQ / MyCrypto / common / v2 / services / Store / BalanceService.tsx View on Github external
const getScanner = (node: NodeConfig) => {
  return new EthScan(new HttpProvider(node.url));
};
github status-im / liquid-funding / src / dapp.js View on Github external
componentDidMount(){
    const network = process.env.REACT_APP_NETWORK || 'ropsten'
    this.scanner = new EthScan(new HttpProvider(Infura[network]))
    this.setCurrencies(network)
    this.setGraphClient(network)
    this.grabAddress()
  }

@mycrypto/eth-scan

An efficient Ether and token balance scanner

MIT
Latest version published 3 years ago

Package Health Score

49 / 100
Full package analysis