GithubHelp home page GithubHelp logo

hakimelek / unlock Goto Github PK

View Code? Open in Web Editor NEW

This project forked from unlock-protocol/unlock

1.0 2.0 0.0 8.01 MB

Unlock is the web's new business model

Home Page: https://unlock-protocol.com

License: MIT License

Dockerfile 0.03% Ruby 0.61% HTML 5.04% CSS 13.75% JavaScript 80.47% Shell 0.10%

unlock's Introduction

Unlock


This repository is includes all the code deployed deployed by Unlock, including smart contracts and the web app running at https://unlock-protocol.com.

Unlock is an access control protocol built on a blockchain. It enables creators to monetize their content or software without relying on a middleman. It lets consumers manage all of their subscriptions in a consistent way, as well as earn discounts when they share the best content and applications they use.

Read more about why we're building Unlock.

License: MIT Build Status

Demo

We recorded a screencast to show how Unlock works for a paywall.

Demo Unlock

Contributing

We strongly recommend that the community help us make improvements and determine the future direction of the protocol. To report bugs within this package, please create an issue in this repository.

Getting started

  1. Checkout the code from this repository
git clone https://github.com/unlock-protocol/unlock
  1. Install all deps

First, install ganach-cli which is a "mock" blockchain node. We are using the latest dev version.

$ npm install -g ganache-cli@trufflesuite/ganache-cli#develop
$ npm run install-deps
  1. Run the app (this should also compile and deploy the smart contract to a local truffle node)
cd unlock-app && npm start

Code

Smart Contract

Includes the code for smart contracts: Lock and Unlock.

unlock-protocol.com

A static site for unlock-protocol.com. Will eventually be deprecated un favor of code deployed from unlock-app.

unlock-app

The code for the React app which interfaces with the deployed smart contracts.

Running tests/ci

We deploy with docker/docker-compose:

docker-compose -f docker/docker-compose.ci.yml build
docker-compose -f docker/docker-compose.ci.yml up --abort-on-container-exit

unlock's People

Contributors

akeem avatar benwerd avatar chrisvanpatten avatar julien51 avatar philmod avatar rinoc avatar

Stargazers

 avatar

Watchers

 avatar  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.