GithubHelp home page GithubHelp logo

imdesai00 / transfer_eth-token Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 471 KB

it can transfer etherum and token also. in this project you can manage the histrory of the transcation.

HTML 9.06% CSS 5.04% JavaScript 85.90%

transfer_eth-token's Introduction

Transfer Ether from one account to other

Tranfer ETH from one account to other using web3.js and Ganache

Project Setup

  1. Install node.js
  2. Install ganache
  3. Create react app project npx create-react-app 02_ethtransfer
  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 ganache blockchain using web3
  4. Write transfer function (refer main.component.js)

.env

you need to create one file in your root directory name that(.env) that file contain information about the account REACT_APP_ACCOUNT=Account's Address REACT_APP_PRIVATE_KEY=Account's Private Key

REACT_APP_RPC_HTTP_URL=HTTP://127.0.0.1:7545

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.