/ipfs-upload-dapp

Uploads file to IPFS & stores corresponding hash on Ethereum without requiring user to spend gas.

Primary LanguageJavaScriptGNU Affero General Public License v3.0AGPL-3.0

IPFS file upload (D)app

Uploads file to IPFS and stores corresponding hash on Ethereum without requiring user to spend gas.

Architecture

Diagram

Getting started

Development

  1. Start local blockchain network: ganache-cli --deterministic
  2. Create contract instance: oz create
  3. Don't forget to initialize GSNRecipient contract: oz send-tx, initalize()
  4. Run front ent locally: npm run start
  5. Access at http://localhost:3000/

Resources

Based on this tutorial with the following improvements/changes:

Tech stack