Code Monkey home page Code Monkey logo

padlock-hackfs's Introduction

Padlock HackFS Submission

A collection of all repos used in our HackFS project submission

Description

Helping artists monetize creative work via the decentralized web. Users can buy or sell access to exclusive content hosted on IPFS and Filecoin. The app will generate unique encryption and decryption keys and store them in the encrypted state of a privacy-preserving smart contract on Secret Network.

How It's Made

  • Secret Network for key generation for content encryption/decryption
  • IPFS and Filecoin for storage (leveraged by Textile’s Powergate using the public http instance for IPFS hosting and Filecoin deal-making)
  • The Graph for indexing, Fleek for hosting, 3Box for managing profiles and storing secret keys and Secret Network credentials
  • Metamask for Ethereum wallet use, and Pinata for pinning IPFS creations

App is built using Typescript-based React w/ Redux Saga for state management. Ethereum is used as the payment and data layer. There’s also the oracle that’s watching purchases and whitelisting buyers on the Padlock Secret Network contract as well as minting an NFT for each user purchase which acts as a receipt.

HackFS Showcase

https://hack.ethglobal.co/showcase/padlock-recOwF5kjzFYLkYkO

Running The App

  1. Install MetaMask and switch network to Ropsten.
  2. Allow insecure content (the app uses a mix of http & https API endpoints).
  • If you're using Chrome, go to "Site settings" by right-clicking the https lock icon.
  • For "Insecure content", choose "Allow".
  1. Add this line to your /etc/hosts file for DNS resolution: 45.76.11.245 secret.padlockdev.org faucet.padlockdev.org ui.padlockdev.org

  2. Go to each of the following URLs and accept the certs.

  1. You need to be whitelisted by the Secret Network contract to be able to publish, easiest way to do that at the moment is to buy an item using our fake test DAI token.

padlock-hackfs's People

Contributors

scorpion9979 avatar

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.