PortalNetwork / react-truffle-metamask

Build an DApp using react, redux, saga, truffle, metamask

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React-truffle-metamask

This project is design to connect to Ethereum blockchain and interact with MetaMask to send transaction on smart contract.

đź’ˇDocument

Technical stack

Frontend

  • React
  • Redux
  • Saga
  • Web3(MetaMask)

UI

  • Sass
  • Material-UI

Smart contract/Solidity

  • Truffle

Install flow

Clone repo

git clone https://github.com/PhyrexTsai/react-truffle-metamask
cd react-truffle-metamask

Install ganache

npm install -g ganache-cli

Install truffle

npm install -g truffle

Build repo

npm install
truffle compile

Start repo

Open a new console

ganache-cli
truffle migrate
npm start

Build repo

npm run build

Reference

ganache-cli: https://github.com/trufflesuite/ganache-cli truffle: https://github.com/trufflesuite/truffle

About

Build an DApp using react, redux, saga, truffle, metamask

License:MIT License


Languages

Language:JavaScript 97.9%Language:HTML 1.7%Language:CSS 0.5%