Skip to content

szanuje/web3-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Description

Simple React app that interact with Ethereum smart contract.

Tech stack

Run

npm install
npm run start
environment variable is needed: REACT_APP_STORAGE_ADDRESS

Build

npm run build

Deploy to IPFS

  • Use Fleek
    or
  • Download IPFS client IPFS
  • Unzip and install
    tar xvfz <file>.tar.gz
    cd go-ipfs
    ./install.sh
  • Upload build
    ipfs add -r build
  • Start local node
    ipfs daemon
  • Access content
    http://127.0.0.1:8080/ipfs/<CID>

Deploy contracts

  • Compile
    npm run compile

  • Test
    npm run test

  • Deploy
    npm run deploy-local
    or
    npm run deploy-rinkeby
    environment variables are needed:
    ALCHEMY_API_KEY
    WALLET_PRIVATE_KEY

  • Verify
    npm run verify-rinkeby <ADDRESS> environment variable is needed:
    ETHERSCAN_KEY

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published