Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/idouble/decentralized-world-wide-web-erc-721

💎 A decentralized World Wide Web on the Ethereum Blockchain 🌐 (Still in the Proof of Concept stage)
https://github.com/idouble/decentralized-world-wide-web-erc-721

blockchain blockchain-datastore blockchain-technology decentralized erc erc-721 eth ethereum ethereum-contract nft nft-example nft-use-case nft-world-wide-web non-fungible non-fungible-token smart-contracts solidity solidity-contracts token world-wide-web

Last synced: 5 days ago
JSON representation

💎 A decentralized World Wide Web on the Ethereum Blockchain 🌐 (Still in the Proof of Concept stage)

Awesome Lists containing this project

README

        

# 💎 Decentralized World Wide Web ERC-721 🌐
This is a decentralized **World Wide Web** implemented with an **ERC-721 Token** on the **Ethereum Blockchain**.
I created this project to show, that there's another way to build the World Wide Web.

## 🌐 The Purpose of a decentralized World Wide Web 🌐
- **Nothing can be deleted, once it's published**
- **Uncensorable**
- **Decentralized**
- **Websites** can be **published** & **hosted** on the **Blockchain**, there's no Host Provider needed anymore.

![central decentralized distributed World Wide Web](Images/central-decentralized-distributed.png)

## ❓ How it works ❓
A Website is build by **ERC-721 Tokens**, each of these Token can carry up to **100 ASCII Chars (100 * 256)**.
The **PageItem** is a **Char Array** with the **length of 100 items**, the Chars are saved as **ASCII (8-Bit)**.
A **decentralized Website** will be build with these **PageItems**.

For the Moment only the HTML is being saved in these **ERC-721 Tokens**.
JavaScript & CSS can be loaded from external sources.

### 📝 Pseudo Code (Simplified) 📝
```
contract PageItem is ERC721{

// The PageItem is a char array with the length of 100 items, the Chars are saved as ASCII (8-Bit)

struct PageItem{
uint256 char0;
uint256 char1;
uint256 char2;
uint256 char3;
uint256 char4;
uint256 char5;
uint256 char6;
uint256 char7;
uint256 char8;
uint256 char9;
uint256 char10;
uint256 char11;
uint256 char12;
...
uint256 char97;
uint256 char98;
uint256 char99;
}

function convertCharArrayToString(charArray[] chrar) public{ // chararray 100x256

}

function convertStringToCharArray(string str) public{

}

}
```

![Binance Ready to give crypto a try ? buy bitcoin and other cryptocurrencies on binance](Images/binance.jpg)