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
| import Eth from "ethjs"; | |
| const testrpcPort = process.env.SOLIDITY_COVERAGE ? "8555" : "8550"; | |
| const eth = new Eth(new Eth.HttpProvider("http://localhost:" + testrpcPort)); | |
| const getTxConfirmation = async (txHash, pollTime, NumConfBlocksNeeded) => { | |
| let currReceipt; | |
| let expConfirmationBlock; | |
| while (true) { | |
| currReceipt = await eth.getTransactionReceipt(txHash); |
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
| 0x0e67ab4d6B455539D02add5dfC749c591e476298 |
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
| import React from "react"; | |
| import Web3 from "web3"; | |
| import ethUtil from "ethereumjs-util"; | |
| import "./index.css"; | |
| const Login = () => { | |
| return ( | |
| <div id="login" onClick={handleClick}> | |
| LOGIN |
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
| package main | |
| import ( | |
| "encoding/hex" | |
| "fmt" | |
| "log" | |
| "strconv" | |
| "github.com/ethereum/go-ethereum/crypto" | |
| ) |