Giter Club home page Giter Club logo

devpavan04 / 0xwriter Goto Github PK

View Code? Open in Web Editor NEW
6.0 3.0 3.0 17.72 MB

A decentralized blogging app that facilitates writers to write user-centric blog posts and create token-gated access to their content ๐Ÿ“

Home Page: https://0xwriter.xyz/

HTML 1.17% JavaScript 89.73% CSS 4.33% Solidity 4.77% Procfile 0.01%
ceramic-network dapp decentralized-identity lit-protocol 3id-connect textile-threaddb blockchain erc20 polygon solidity

0xwriter's Introduction

Launch App ๐Ÿ” Watch Demo


A decentralized blogging app that facilitates writers to write user centric blog posts and to create token gated access to their content.

This project was submitted at Encode x Polygon Hackathon 2022

0xWriter main contract is deployed and verified on polygon mumbai testnet.

Features

  • Write blog posts that are owned only by you.
  • Create, read, update and delete posts.
  • Deploy an ERC20 contract to create token gated access to your blog.
  • All posts are encrypted.
  • Set access control condition - minimum no. of your ERC20 tokens a reader must own to decrypt your content. Setting more conditions will be supported in the future.
  • Writer - can mint their ERC20 tokens, transfer them, set new token price and withdraw their contract balance.
  • Reader - can mint new writer's tokens and transfer them.
  • Set or update your decentralized identity's basic profile - name, description and emoji.

Demo

Youtube

Installation

Clone this project to test locally

  git clone https://github.com/devpavan04/0xWriter.git
  cd 0xWriter
  npm install

Also install client and middleware dependencies

  cd middleware
  npm install
  cd ..
  cd client
  npm install
  cd ..

Environment Variables

Add the following in the .env file inside middleware folder :

USER_GROUP_KEY

USER_GROUP_SECRET

You can get the above keys by going through Textile Docs

Add the following in the .env file inside client folder :

REACT_APP_INFURA_API_KEY

REACT_APP_SERVER_URL - http://localhost:3001

REACT_APP_CERAMIC_URL - http://localhost:7007

Run Locally

Start ceramic daemon

  npm install -g @ceramicnetwork/cli
  ceramic daemon

Run middleware

  cd middleware
  npm start

Start client

  cd client
  npm start

Go to http://localhost:3000 on your browser to interact with the dapp.

Technologies used

Read more on how the above technologies are used in the app here

Built With

Author

@pavansoratur

0xwriter's People

Contributors

devpavan04 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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