Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 723 Bytes

File metadata and controls

23 lines (15 loc) · 723 Bytes

Transfer ERC20 token from one account to other

Tranfer ERC20 token from one account to other using web3.js and ethereum testnet

  • YouTube Video

Transfer ERC-20 web3.js

Project Setup

  1. Install node.js
  2. Setup metamask and create a wallet
  3. Create react app project npx create-react-app 03_erc20-transfer
  4. Update package.json with provided libraries
  5. Run npm install

Code

  1. Setup variables into .env file
  2. Read variables from .env file
  3. Connect to the ethereum testnet blockchain using web3
  4. Write transfer function (refer main.component.js)