Simple React app that interact with Ethereum smart contract.
npm install
npm run start
environment variable is needed: REACT_APP_STORAGE_ADDRESS
npm run build
- 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>
-
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