Skip to content

The-LibraVerse/frontend

Repository files navigation

Libraverse

Libraverse is a platform for writers and readers alike. Libraverse implements the use of several web3 technologies to help writers publish and keep their books.

Working Demo

Libraverse website

Technologies Used

IPFS

Libraverse uses IPFS to ensure that writers have access to their content even if the website goes down. It does this in several ways.

Store Chapter Content on IPFS

Libraverse stores the content of every chapter created on IPFS. See Implementation.

An author is always presented with the links to the content every time they view their book. Only a book's author will get these links. Other users can only access the book on Libraverse.

IPFS urls for each chapter is presented to the author Book chapter list: IPFS urls are not included to other users

Store Book and Chapter Cover Images on IPFS

Libraverse stores book anad chapter cover images on IPFS.

Store Metadata Of Published Books

Libraverse uses ERC1155s and IPFS to facilitate the "sale" of a book. First, Libravere stores the metadata for the token on IPFS. A book can only be sold if it has been published. When a book is published, Libraverse creates a metadata following the ERC1155 metadata standard for the on IPFS. See PublishBook and PublishChapter. When an author clicks Sell Book, Libraverse creates a token on the ethereum blockchain, with the metadata uri of the book.

ERC1155 Tokens

After creating and publishing a book, a writer can create and ERC1155 tokens to sell. The writer can mint as many initial copies of the token as they like. Libraverse however, does not handle distribution or sale of tokens and leaves that up to the writer. When a reader views a book that has been put for sale in this way, they will either get the book's content, or a notice if they do not have the ERC1155 token that was created and minted by the writer.

The current ERC1155 token been used for the books is deployed on ropsten at 0x625B1D616078160D5Cb0E190cD55504Be32fdbF4

User does not have the token required to read the book

Features

Book Cover Creator

Libraverse has a basic image editor for creating book covers. A user can set a background image, or a backgroud color, and type some text over the background. The book cover can be downloaded.

Book Cover Image Creator: Blue background with black and orange text on it

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published