January 2020
Intermediate to advanced
530 pages
11h 11m
English
Start by importing the dependent modules and components, as shown here:
import React, { Component } from 'react'; import Web3 from 'web3'; import Container from './Components/Container'; import Mnemonic from './Components/Menmonic.js'; import ethTx from 'ethereumjs-tx'; const bip39 = require('bip39'); const hdkey = require('hdkey'); const ethUtil = require('ethereumjs-util')
We will be importing the HD wallet mnemonic from Mnemonic.js and deriving the individual addresses. The web3 object enables us to interact with the Ethereum blockchain.
Read now
Unlock full access