This file contains hidden or 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
// basic_web3js_transaction_tutorial/src/App.js | |
import React, { Component } from "react"; | |
import "./App.css"; | |
import Web3 from "web3"; | |
import Tx from "ethereumjs-tx"; | |
//Specifies which network you want to use ie. testnet mainnet ect... | |
const web3 = new Web3( | |
new Web3.providers.HttpProvider( |
This file contains hidden or 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
// basic_web3js_transaction_tutorial/src/App.js | |
import React, { Component } from "react"; | |
import "./App.css"; | |
import Web3 from "web3"; | |
import Tx from "ethereumjs-tx"; | |
const web3 = new Web3( | |
new Web3.providers.HttpProvider( | |
"https://kovan.infura.io/v3/YOUR_KEY_FROM_INFURA" |
This file contains hidden or 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
// basic_web3js_transaction_tutorial/src/App.js | |
import React, { Component } from "react"; | |
import "./App.css"; | |
class App extends Component { | |
render() { | |
return ( | |
<div className="App"> | |
<h1>sudo_web_wallet</h1> |