ethereum-txn-status
A React component to track Ethereum transactions in real-time with progress bar
Last updated 5 months ago by proy24 .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install ethereum-txn-status 
SYNC missed versions from official npm registry.

Ethereum-txn-status

NPM JavaScript Style Guide

Install

npm install --save ethereum-txn-status

Usage

import React, { Component } from 'react'

import TransactionStatus from 'ethereum-txn-status'

class Example extends Component {
  render () {
    return (
      <TransactionStatus transaction_hash={tx_hash} dfuse_api_key={dfuse_key} network={"ropsten"}/>
    )
  }
}

alt text

Props

transaction_hash (Required) : The hash of the transaction that you want to track.

If you want to track the hash of a recently made transaction, use the hash provided in the web3 sendTransaction callback.(See example for more details)

dfuse_api_key (Required):The API key to query the Ethereum blockchain with. 

A free API key can be obtained here

Network (Optional): mainnet or ropsten

The default is mainnet,

License

MIT © pRoy24

ethereum-txn-status

Current Tags

  • 0.0.11                                ...           latest (5 months ago)

2 Versions

  • 0.0.11                                ...           5 months ago
  • 0.0.1                                ...           5 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (8)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |