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:
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.
This app requires node.js (tested on v12+)
npm install
cd contracts
npm install
cd ../react-app/
npm install
cd ../subgraph/
npm install
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>
Run ./command.py
and choose deploy contracts
. After deployment choose to update the contracts as well.
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
.
cd react-app
npm run start