Decentralized-World-Wide-Web-ERC-721
所属分类:区块链开发
开发工具:Solidity
文件大小:23176KB
下载次数:0
上传日期:2021-03-30 18:51:04
上 传 者:
sh-1993
说明: 去中心化的万维网-ERC-721,以太坊区块链上的去中心化万维网(仍处于概念验证阶段)
(Decentralized-World-Wide-Web-ERC-721, A decentralized World Wide Web on the Ethereum Blockchain (Still in the Proof of Concept stage))
文件列表:
CODE_OF_CONDUCT.md (3338, 2018-12-28)
CONTRIBUTING.md (174, 2018-12-28)
EtherNet (0, 2018-12-28)
EtherNet\contracts (0, 2018-12-28)
EtherNet\contracts\Address.sol (1034, 2018-12-28)
EtherNet\contracts\ERC721.sol (11625, 2018-12-28)
EtherNet\contracts\IERC165.sol (484, 2018-12-28)
EtherNet\contracts\IERC721.sol (1268, 2018-12-28)
EtherNet\contracts\IERC721Receiver.sol (1172, 2018-12-28)
EtherNet\contracts\Migrations.sol (515, 2018-12-28)
EtherNet\contracts\PageItemToken.sol (3049, 2018-12-28)
EtherNet\contracts\SafeMath.sol (1649, 2018-12-28)
EtherNet\migrations (0, 2018-12-28)
EtherNet\migrations\1_initial_migration.js (129, 2018-12-28)
EtherNet\migrations\2_deploy_contract.js (133, 2018-12-28)
EtherNet\node_modules (0, 2018-12-28)
EtherNet\node_modules\.bin (0, 2018-12-28)
EtherNet\node_modules\.bin\_mocha (303, 2018-12-28)
EtherNet\node_modules\.bin\_mocha.cmd (174, 2018-12-28)
EtherNet\node_modules\.bin\he (289, 2018-12-28)
EtherNet\node_modules\.bin\he.cmd (160, 2018-12-28)
EtherNet\node_modules\.bin\mkdirp (305, 2018-12-28)
EtherNet\node_modules\.bin\mkdirp.cmd (176, 2018-12-28)
EtherNet\node_modules\.bin\mocha (301, 2018-12-28)
EtherNet\node_modules\.bin\mocha.cmd (172, 2018-12-28)
EtherNet\node_modules\.bin\rimraf (297, 2018-12-28)
EtherNet\node_modules\.bin\rimraf.cmd (168, 2018-12-28)
EtherNet\node_modules\.bin\semver (305, 2018-12-28)
EtherNet\node_modules\.bin\semver.cmd (176, 2018-12-28)
EtherNet\node_modules\.bin\solcjs (293, 2018-12-28)
EtherNet\node_modules\.bin\solcjs.cmd (164, 2018-12-28)
EtherNet\node_modules\.bin\truffle (327, 2018-12-28)
EtherNet\node_modules\.bin\truffle.cmd (198, 2018-12-28)
EtherNet\node_modules\.bin\which (301, 2018-12-28)
EtherNet\node_modules\.bin\which.cmd (172, 2018-12-28)
EtherNet\node_modules\.yarn-integrity (14687, 2018-12-28)
EtherNet\node_modules\ansi-regex (0, 2018-12-28)
... ...
# ’ 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](https://github.com/AYIDouble/Decentralized-World-Wide-Web-ERC-721/blob/master/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 char***;
uint256 char99;
}
function convertCharArrayToString(charArray[] chrar) public{ // chararray 100x256
}
function convertStringToCharArray(string str) public{
}
}
```
近期下载者:
相关文件:
收藏者: