import React, { Component } from 'react'; import { connect } from 'react-redux'; import TabSection from 'containers/TabSection'; import { translateRaw } from 'translations'; import { signLocalTransactionSucceeded, TSignLocalTransactionSucceeded, signTransactionFailed, TSignTransactionFailed } from 'actions/transaction'; import { computeIndexingHash } from 'libs/transaction'; import { QRCode, TextArea } from 'components/ui'; import EthTx from 'ethereumjs-tx'; import { SendButton } from 'components/SendButton'; import { toBuffer, bufferToHex } from 'ethereumjs-util'; import { getSerializedTransaction } from 'selectors/transaction'; import { AppState } from 'reducers'; import './index.scss'; import { Switch, Route, RouteComponentProps } from 'react-router'; import { RouteNotFound } from 'components/RouteNotFound'; interface StateProps { stateTransaction: AppState['transaction']['sign']['local']['signedTransaction']; } interface DispatchProps { signLocalTransactionSucceeded: TSignLocalTransactionSucceeded; signTransactionFailed: TSignTransactionFailed; } interface State { userInput: string; } const INITIAL_STATE: State = { userInput: '' }; type Props = DispatchProps & StateProps & RouteComponentProps<{}>; class BroadcastTx extends Component { public state: State = INITIAL_STATE; public render() { const { userInput } = this.state; const { stateTransaction } = this.props; const currentPath = this.props.match.url; return (
(

Broadcast Signed Transaction

Paste a signed transaction and press the "SEND TRANSACTION" button.