Code Monkey home page Code Monkey logo

creaton's Introduction

Creaton, Deprecated V1, stay tuned for V2 :)

Creaton is a decentralized content sharing platform. Powered by Ethereum, IPFS, Superfluid and Textile, Creaton allows a streaming based subscription system where subscribers support their favorite creators with stablecoins in real-time. Utilizing p2p encryption, Creaton makes sure of exclusive permission-less content delivery to subscribers and eliminates the need for unnecessary middlemen or centralized services. Check out our DApp here:

Creaton live dev build

Demo video

Setup

requirements :

docker and docker-compose

docker and docker-compose are used to setup the external services (an ipfs node and a subgraph node)

If you prefer (or do not have access to docker/docker-compose) you can run them independently.

node

This app requires node.js (tested on v12+)

install dependencies :

npm install
cd contracts
npm install
cd ../react-app/
npm install
cd ../subgraph/
npm install

Development

Set environment variables

Create a .env file and set the following env variables in:

  • INFURA_TOKEN=<infura token to talk to a network>
  • MNEMONIC=<mnemonic of the account that will deploy the contract>
  • ALCHEMY_TOKEN=<alchemy token to talk to a network>
  • Superfluid Contracts:
# Checkout Superfluid Network Directory: https://docs.superfluid.finance/superfluid/networks/networks
# MUMBAI
SUPERFLUID_HOST = 0xEB796bdb90fFA0f28255275e16936D25d3418603
SUPERFLUID_CFA = 0x49e565Ed1bdc17F3d220f72DF0857C26FA83F873
SUPERFLUID_SUPERTOKENFACTORY = 0x200657E2f123761662567A1744f9ACAe50dF47E6
SUPERFLUID_RESOLVER = 0x8C54C83FbDe3C59e59dd6E324531FB93d4F504d3
SUPERFLUID_VERSION = v1

Deploy the contracts

Run ./command.py and choose deploy contracts. After deployment choose to update the contracts as well.

Run subgraph docker

First edit subgraph/docker-compose.yml end edit the etherum env variable to an api url in this format:

mumbai:https://polygon-mumbai.infura.io/v3/<YOUR_TOKEN>

Then run ./command.py and choose run subgraph docker.

Run react app

cd react-app
npm run start

creaton's People

Contributors

aeroxander avatar brocco72 avatar futuristfuturist avatar gigamesh avatar inspiring71 avatar jagveer-sangha avatar jazilzaim avatar kpjackson90 avatar lesteven avatar m30m avatar nigeon avatar pyrohedgehog avatar siddig-cmd avatar sylar217 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

creaton's Issues

Subgraph endpoint update required

Hey team,

We've noticed that you're referencing a subgraph deployed on The Graph's hosted service in this repository. Just a heads-up: after June 12th, hosted service subgraph endpoints will no longer be available as the offering is being deprecated.

If you are the subgraph owner or maintainer, it's time to upgrade your subgraph to the network. This ensures everything keeps running smoothly and you get access to all the latest features and improvements. Here is a quick guide with all the upgrade steps.

If you're not the subgraph owner or maintainer, check Graph Explorer to see if the subgraph development team has already upgraded to the network. If you don’t find an upgraded subgraph, a friendly nudge to the subgraph development team would be greatly appreciated—it's a quick process that benefits everyone. Here's the upgrade guide with all the necessary steps for the subgraph development team.

Once the subgraph is upgraded to the network, you can create an API key and updated query URL in Subgraph Studio then update this repository to query from the new endpoint, https://api.studio.thegraph.com/query/<ID>/<SUBGRAPH_NAME>/<VERSION>

Need more support or have more questions? Feel free to reach out to [email protected]. We're here to help!

Cheers,

Paka

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.